Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2160)

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainerClient.h

Issue 461163002: Cleanup namespace usage in Source/core/modules/[mediasource/* to websockets/*] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/serviceworkers/ServiceWorkerContainerClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainerClient.h b/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
index b2f1470372334ad75d703b320cb265d5b1c052d3..65100c17849b1d7a5be666afd090c2dc4c928f42 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
@@ -10,12 +10,9 @@
#include "wtf/Forward.h"
namespace blink {
-class WebServiceWorkerProvider;
-}
-
-namespace blink {
class ExecutionContext;
+class WebServiceWorkerProvider;
// This mainly exists to provide access to WebServiceWorkerProvider.
// Owned by Document (or WorkerClients).
@@ -26,10 +23,10 @@ class ServiceWorkerContainerClient FINAL
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerContainerClient);
WTF_MAKE_NONCOPYABLE(ServiceWorkerContainerClient);
public:
- static PassOwnPtrWillBeRawPtr<ServiceWorkerContainerClient> create(PassOwnPtr<blink::WebServiceWorkerProvider>);
+ static PassOwnPtrWillBeRawPtr<ServiceWorkerContainerClient> create(PassOwnPtr<WebServiceWorkerProvider>);
virtual ~ServiceWorkerContainerClient();
- blink::WebServiceWorkerProvider* provider() { return m_provider.get(); }
+ WebServiceWorkerProvider* provider() { return m_provider.get(); }
static const char* supplementName();
static ServiceWorkerContainerClient* from(ExecutionContext*);
@@ -41,12 +38,12 @@ public:
}
protected:
- explicit ServiceWorkerContainerClient(PassOwnPtr<blink::WebServiceWorkerProvider>);
+ explicit ServiceWorkerContainerClient(PassOwnPtr<WebServiceWorkerProvider>);
- OwnPtr<blink::WebServiceWorkerProvider> m_provider;
+ OwnPtr<WebServiceWorkerProvider> m_provider;
};
-void provideServiceWorkerContainerClientToWorker(WorkerClients*, PassOwnPtr<blink::WebServiceWorkerProvider>);
+void provideServiceWorkerContainerClientToWorker(WorkerClients*, PassOwnPtr<WebServiceWorkerProvider>);
} // namespace blink
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.h ('k') | Source/modules/serviceworkers/ServiceWorkerError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698