From 9d7b0e02f138ba7379e2a917339570fdf3364b3b Mon Sep 17 00:00:00 2001 From: "peterv%netscape.com" Date: Wed, 2 May 2001 23:06:12 +0000 Subject: [PATCH] Get P3P support building on Mac. Bug 62399. r=harishd. Not part of the build. --- extensions/p3p/src/nsP3PObserverXML.cpp | 28 ++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/extensions/p3p/src/nsP3PObserverXML.cpp b/extensions/p3p/src/nsP3PObserverXML.cpp index 5f0d6c034185..207971cb3a88 100644 --- a/extensions/p3p/src/nsP3PObserverXML.cpp +++ b/extensions/p3p/src/nsP3PObserverXML.cpp @@ -27,17 +27,17 @@ #include "nsP3PObserverUtils.h" #include "nsP3PLogging.h" -#include +#include "nsIServiceManager.h" -#include +#include "nsIParser.h" -#include -#include -#include -#include +#include "nsIDocShell.h" +#include "nsIDocShellTreeItem.h" +#include "nsIWebNavigation.h" +#include "nsIDocument.h" -#include -#include +#include "nsString.h" +#include "nsXPIDLString.h" // **************************************************************************** @@ -102,11 +102,11 @@ nsP3PObserverXML::~nsP3PObserverXML( ) { if (mObserverService) { mObserverService->RemoveObserver( this, - NS_LITERAL_STRING("text/xml") ); + NS_LITERAL_STRING("text/xml").get() ); mObserverService->RemoveObserver( this, - NS_LITERAL_STRING("application/xml") ); + NS_LITERAL_STRING("application/xml").get() ); mObserverService->RemoveObserver( this, - NS_LITERAL_STRING("application/xhtml+xml") ); + NS_LITERAL_STRING("application/xhtml+xml").get() ); } } @@ -133,13 +133,13 @@ nsP3PObserverXML::Init( ) { if (NS_SUCCEEDED( rv )) { // Register to observer XML tags rv = mObserverService->AddObserver( this, - NS_LITERAL_STRING("text/xml") ); + NS_LITERAL_STRING("text/xml").get() ); if (NS_SUCCEEDED(rv)) { rv = mObserverService->AddObserver( this, - NS_LITERAL_STRING("application/xml") ); + NS_LITERAL_STRING("application/xml").get() ); if (NS_SUCCEEDED(rv)) { rv = mObserverService->AddObserver( this, - NS_LITERAL_STRING("application/xhtml+xml") ); + NS_LITERAL_STRING("application/xhtml+xml").get() ); } }