TestPageLoad-namespace
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 159 969d8d4050b8b7ebfb082c860b4a16df41348d52
permissions -rw-r--r--
State as of now

diff --git a/netwerk/test/TestPageLoad.cpp b/netwerk/test/TestPageLoad.cpp
--- a/netwerk/test/TestPageLoad.cpp
+++ b/netwerk/test/TestPageLoad.cpp
@@ -156,6 +156,8 @@ static NS_METHOD streamParse (nsIInputSt
 // nsIStreamListener implementation
 //-----------------------------------------------------------------------------
 
+namespace TestPageLoad {
+
 class MyListener : public nsIStreamListener
 {
 public:
@@ -166,6 +168,10 @@ public:
     MyListener() { }
     virtual ~MyListener() {}
 };
+
+}
+
+using namespace TestPageLoad;
 
 NS_IMPL_ISUPPORTS2(MyListener,
                    nsIRequestObserver,
@@ -221,6 +227,8 @@ MyListener::OnDataAvailable(nsIRequest *
 // NotificationCallbacks implementation
 //-----------------------------------------------------------------------------
 
+namespace TestPageLoad {
+
 class MyNotifications : public nsIInterfaceRequestor
                       , public nsIProgressEventSink
 {
@@ -232,6 +240,8 @@ public:
     MyNotifications() { }
     virtual ~MyNotifications() {}
 };
+
+}
 
 NS_IMPL_THREADSAFE_ISUPPORTS2(MyNotifications,
                               nsIInterfaceRequestor,