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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainer.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/ServiceWorkerContainer.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.h b/Source/modules/serviceworkers/ServiceWorkerContainer.h
index 360fe0772d4b5284db0ee885eac5dd8b9c5e59e1..71d04fb4be97c584aa2222f66f2e23fedec04268 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -44,21 +44,18 @@
#include "wtf/RefPtr.h"
namespace blink {
-class WebServiceWorkerProvider;
-class WebServiceWorker;
-}
-
-namespace blink {
class Dictionary;
class ExecutionContext;
class ServiceWorker;
+class WebServiceWorkerProvider;
+class WebServiceWorker;
class ServiceWorkerContainer FINAL
: public RefCountedWillBeGarbageCollectedFinalized<ServiceWorkerContainer>
, public ScriptWrappable
, public ContextLifecycleObserver
- , public blink::WebServiceWorkerProviderClient {
+ , public WebServiceWorkerProviderClient {
public:
static PassRefPtrWillBeRawPtr<ServiceWorkerContainer> create(ExecutionContext*);
~ServiceWorkerContainer();
@@ -72,17 +69,17 @@ public:
PassRefPtrWillBeRawPtr<ServiceWorker> installing() { return m_installing.get(); }
PassRefPtrWillBeRawPtr<ServiceWorker> waiting() { return m_waiting.get(); }
ScriptPromise ready(ScriptState*);
- blink::WebServiceWorkerProvider* provider() { return m_provider; }
+ WebServiceWorkerProvider* provider() { return m_provider; }
ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, const Dictionary&);
ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope);
// WebServiceWorkerProviderClient overrides.
- virtual void setActive(blink::WebServiceWorker*) OVERRIDE;
- virtual void setController(blink::WebServiceWorker*) OVERRIDE;
- virtual void setInstalling(blink::WebServiceWorker*) OVERRIDE;
- virtual void setWaiting(blink::WebServiceWorker*) OVERRIDE;
- virtual void dispatchMessageEvent(const blink::WebString& message, const blink::WebMessagePortChannelArray&) OVERRIDE;
+ virtual void setActive(WebServiceWorker*) OVERRIDE;
+ virtual void setController(WebServiceWorker*) OVERRIDE;
+ virtual void setInstalling(WebServiceWorker*) OVERRIDE;
+ virtual void setWaiting(WebServiceWorker*) OVERRIDE;
+ virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) OVERRIDE;
private:
explicit ServiceWorkerContainer(ExecutionContext*);
@@ -91,7 +88,7 @@ private:
ReadyProperty* createReadyProperty();
void checkReadyChanged(PassRefPtrWillBeRawPtr<ServiceWorker> previousReadyWorker);
- blink::WebServiceWorkerProvider* m_provider;
+ WebServiceWorkerProvider* m_provider;
RefPtrWillBeMember<ServiceWorker> m_active;
RefPtrWillBeMember<ServiceWorker> m_controller;
RefPtrWillBeMember<ServiceWorker> m_installing;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorker.h ('k') | Source/modules/serviceworkers/ServiceWorkerContainerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698