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

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

Issue 26078002: Rename WebServiceWorkerRegistry to WebServiceWorkerProvider (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add some comments Created 7 years, 2 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
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/modules/serviceworkers/NavigatorServiceWorker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/NavigatorServiceWorker.h
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.h b/Source/modules/serviceworkers/NavigatorServiceWorker.h
index ee3881336eae20872e7965370bcc7647f42db1da..7cf1e990bfeac1f0f6744e021a522d6c485eee04 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.h
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.h
@@ -34,13 +34,18 @@
#include "bindings/v8/ScriptPromise.h"
#include "core/page/Navigator.h"
#include "core/platform/Supplementable.h"
+#include "public/platform/WebServiceWorkerProviderClient.h"
+
+namespace WebKit {
+class WebServiceWorkerProvider;
+}
namespace WebCore {
class ExceptionState;
class Navigator;
-class NavigatorServiceWorker : public Supplement<Navigator> {
+class NavigatorServiceWorker : public Supplement<Navigator>, public WebKit::WebServiceWorkerProviderClient {
michaeln 2013/10/05 02:35:58 At what point in the Document creation process / l
public:
virtual ~NavigatorServiceWorker();
static NavigatorServiceWorker* from(Navigator*);
@@ -55,9 +60,12 @@ private:
explicit NavigatorServiceWorker(Navigator*);
+ WebKit::WebServiceWorkerProvider* serviceWorkerProvider();
+
static const char* supplementName();
Navigator* m_navigator;
+ OwnPtr<WebKit::WebServiceWorkerProvider> m_provider;
};
} // namespace WebCore
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/modules/serviceworkers/NavigatorServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698