| 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
|
|
|