More bustage fixes from bug 589292
authorMark Banner <bugzilla@standard8.plus.com>
Sat, 10 Sep 2011 07:21:54 +0100
changeset 9142 e04e0e5d73af2e818892c47bdad62d9c19fe48ce
parent 9141 38e2832e047612983e382afdfa8f3edee0a2e801
child 9143 242e91dacfc906037a86decd0cd30a69d1d7d813
push id230
push userbugzilla@standard8.plus.com
push dateTue, 08 Nov 2011 22:55:24 +0000
treeherdercomm-beta@63dad5648415 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs589292
More bustage fixes from bug 589292
mailnews/base/util/nsMsgProtocol.cpp
mailnews/imap/src/nsImapProtocol.cpp
mailnews/news/src/nsNntpMockChannel.cpp
--- a/mailnews/base/util/nsMsgProtocol.cpp
+++ b/mailnews/base/util/nsMsgProtocol.cpp
@@ -681,16 +681,22 @@ nsMsgProtocol::GetContentDisposition(PRU
 }
 
 NS_IMETHODIMP
 nsMsgProtocol::GetContentDispositionFilename(nsAString &aContentDispositionFilename)
 {
   return NS_ERROR_NOT_AVAILABLE;
 }
 
+NS_IMETHODIMP
+nsMsgProtocol::GetContentDispositionHeader(nsAString &aContentDispositionHeader)
+{
+  return NS_ERROR_NOT_AVAILABLE;
+}
+
 NS_IMETHODIMP nsMsgProtocol::GetContentLength(PRInt32 *aContentLength)
 {
   *aContentLength = mContentLength;
   return NS_OK;
 }
 
 NS_IMETHODIMP nsMsgProtocol::SetContentLength(PRInt32 aContentLength)
 {
--- a/mailnews/imap/src/nsImapProtocol.cpp
+++ b/mailnews/imap/src/nsImapProtocol.cpp
@@ -9397,16 +9397,34 @@ NS_IMETHODIMP nsImapMockChannel::GetCont
 }
 
 NS_IMETHODIMP nsImapMockChannel::SetContentCharset(const nsACString &aContentCharset)
 {
   NS_WARNING("nsImapMockChannel::SetContentCharset() not implemented");
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+NS_IMETHODIMP
+nsImapMockChannel::GetContentDisposition(PRUint32 *aContentDisposition)
+{
+  return NS_ERROR_NOT_AVAILABLE;
+}
+
+NS_IMETHODIMP
+nsImapMockChannel::GetContentDispositionFilename(nsAString &aContentDispositionFilename)
+{
+  return NS_ERROR_NOT_AVAILABLE;
+}
+
+NS_IMETHODIMP
+nsImapMockChannel::GetContentDispositionHeader(nsAString &aContentDispositionHeader)
+{
+  return NS_ERROR_NOT_AVAILABLE;
+}
+
 NS_IMETHODIMP nsImapMockChannel::GetContentLength(PRInt32 * aContentLength)
 {
   *aContentLength = mContentLength;
   return NS_OK;
 }
 
 NS_IMETHODIMP
 nsImapMockChannel::SetContentLength(PRInt32 aContentLength)
--- a/mailnews/news/src/nsNntpMockChannel.cpp
+++ b/mailnews/news/src/nsNntpMockChannel.cpp
@@ -230,16 +230,34 @@ NS_IMETHODIMP nsNntpMockChannel::GetCont
 
 NS_IMETHODIMP nsNntpMockChannel::SetContentCharset(const nsACString &aCharset)
 {
   FORWARD_CALL(SetContentCharset, aCharset)
   m_contentCharset = aCharset;
   return NS_OK;
 }
 
+NS_IMETHODIMP
+nsNntpMockChannel::GetContentDisposition(PRUint32 *aContentDisposition)
+{
+  return NS_ERROR_NOT_AVAILABLE;
+}
+
+NS_IMETHODIMP
+nsNntpMockChannel::GetContentDispositionFilename(nsAString &aContentDispositionFilename)
+{
+  return NS_ERROR_NOT_AVAILABLE;
+}
+
+NS_IMETHODIMP
+nsNntpMockChannel::GetContentDispositionHeader(nsAString &aContentDispositionHeader)
+{
+  return NS_ERROR_NOT_AVAILABLE;
+}
+
 NS_IMETHODIMP nsNntpMockChannel::GetContentLength(PRInt32 *length)
 {
   FORWARD_CALL(GetContentLength, length)
   *length = m_contentLength;
   return NS_OK;
 }
 
 NS_IMETHODIMP