Chromium Code Reviews| 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 |