Bug 388245: Remove NS_IMPL_THREADSAFE* macros from netwerk/streamconv. r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230936 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
#include "nsCRT.h"
|
||||
#include "nsISupportsObsolete.h"
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsDirIndex,
|
||||
nsIDirIndex)
|
||||
NS_IMPL_ISUPPORTS1(nsDirIndex,
|
||||
nsIDirIndex)
|
||||
|
||||
nsDirIndex::nsDirIndex() : mType(TYPE_UNKNOWN),
|
||||
mSize(LL_MAXUINT),
|
||||
|
||||
@@ -56,10 +56,10 @@
|
||||
#include "nsIPrefBranch.h"
|
||||
#include "nsIPrefLocalizedString.h"
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS3(nsDirIndexParser,
|
||||
nsIRequestObserver,
|
||||
nsIStreamListener,
|
||||
nsIDirIndexParser)
|
||||
NS_IMPL_ISUPPORTS3(nsDirIndexParser,
|
||||
nsIRequestObserver,
|
||||
nsIStreamListener,
|
||||
nsIDirIndexParser)
|
||||
|
||||
nsDirIndexParser::nsDirIndexParser() {
|
||||
}
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include "nsMemory.h"
|
||||
#include "plstr.h"
|
||||
#include "prlog.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIGenericFactory.h"
|
||||
#include "nsXPIDLString.h"
|
||||
@@ -76,10 +75,10 @@ PRLogModuleInfo* gFTPDirListConvLog = nsnull;
|
||||
#endif /* PR_LOGGING */
|
||||
|
||||
// nsISupports implementation
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS3(nsFTPDirListingConv,
|
||||
nsIStreamConverter,
|
||||
nsIStreamListener,
|
||||
nsIRequestObserver)
|
||||
NS_IMPL_ISUPPORTS3(nsFTPDirListingConv,
|
||||
nsIStreamConverter,
|
||||
nsIStreamListener,
|
||||
nsIRequestObserver)
|
||||
|
||||
|
||||
// nsIStreamConverter implementation
|
||||
|
||||
@@ -59,10 +59,10 @@
|
||||
#include "nsGopherDirListingConv.h"
|
||||
|
||||
// nsISupports implementation
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS3(nsGopherDirListingConv,
|
||||
nsIStreamConverter,
|
||||
nsIStreamListener,
|
||||
nsIRequestObserver)
|
||||
NS_IMPL_ISUPPORTS3(nsGopherDirListingConv,
|
||||
nsIStreamConverter,
|
||||
nsIStreamListener,
|
||||
nsIRequestObserver)
|
||||
|
||||
// nsIStreamConverter implementation
|
||||
|
||||
|
||||
@@ -51,11 +51,11 @@
|
||||
#include "nsIPlatformCharset.h"
|
||||
#include "nsInt64.h"
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS4(nsIndexedToHTML,
|
||||
nsIDirIndexListener,
|
||||
nsIStreamConverter,
|
||||
nsIRequestObserver,
|
||||
nsIStreamListener)
|
||||
NS_IMPL_ISUPPORTS4(nsIndexedToHTML,
|
||||
nsIDirIndexListener,
|
||||
nsIStreamConverter,
|
||||
nsIRequestObserver,
|
||||
nsIStreamListener)
|
||||
|
||||
static void ConvertNonAsciiToNCR(const nsAString& in, nsAFlatString& out)
|
||||
{
|
||||
|
||||
@@ -381,10 +381,10 @@ nsPartChannel::GetBaseChannel(nsIChannel ** aReturn)
|
||||
|
||||
|
||||
// nsISupports implementation
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS3(nsMultiMixedConv,
|
||||
nsIStreamConverter,
|
||||
nsIStreamListener,
|
||||
nsIRequestObserver)
|
||||
NS_IMPL_ISUPPORTS3(nsMultiMixedConv,
|
||||
nsIStreamConverter,
|
||||
nsIStreamListener,
|
||||
nsIRequestObserver)
|
||||
|
||||
|
||||
// nsIStreamConverter implementation
|
||||
|
||||
@@ -43,11 +43,11 @@
|
||||
#define TOKEN_DELIMITERS NS_LITERAL_STRING("\t\r\n ").get()
|
||||
|
||||
// nsISupports methods
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS4(nsTXTToHTMLConv,
|
||||
nsIStreamConverter,
|
||||
nsITXTToHTMLConv,
|
||||
nsIRequestObserver,
|
||||
nsIStreamListener)
|
||||
NS_IMPL_ISUPPORTS4(nsTXTToHTMLConv,
|
||||
nsIStreamConverter,
|
||||
nsITXTToHTMLConv,
|
||||
nsIRequestObserver,
|
||||
nsIStreamListener)
|
||||
|
||||
|
||||
// nsIStreamConverter methods
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "nsCRT.h"
|
||||
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS2(nsAppleFileDecoder, nsIAppleFileDecoder, nsIOutputStream)
|
||||
NS_IMPL_ISUPPORTS2(nsAppleFileDecoder, nsIAppleFileDecoder, nsIOutputStream)
|
||||
|
||||
nsAppleFileDecoder::nsAppleFileDecoder()
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// nsISupports methods
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsStreamConverterService, nsIStreamConverterService)
|
||||
NS_IMPL_ISUPPORTS1(nsStreamConverterService, nsIStreamConverterService)
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user