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

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

Issue 26078002: Rename WebServiceWorkerRegistry to WebServiceWorkerProvider (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix windows build..again 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 d35f9d18c0034c07b23cac4acc1b5dab0bdf2b2f..d8d1594beca6c95a193d9e7542099a5272c18961 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.h
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.h
@@ -35,12 +35,17 @@
#include "core/frame/Navigator.h"
#include "platform/Supplementable.h"
+namespace WebKit {
+class WebServiceWorkerProvider;
+class WebServiceWorkerProviderClient;
+}
+
namespace WebCore {
class ExceptionState;
class Navigator;
-class NavigatorServiceWorker : public Supplement<Navigator> {
+class NavigatorServiceWorker : public Supplement<Navigator>, DOMWindowProperty {
public:
virtual ~NavigatorServiceWorker();
static NavigatorServiceWorker* from(Navigator*);
@@ -55,9 +60,14 @@ private:
explicit NavigatorServiceWorker(Navigator*);
+ virtual void willDetachGlobalObjectFromFrame() OVERRIDE;
+
+ WebKit::WebServiceWorkerProvider* ensureProvider();
+
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