| Index: Source/modules/serviceworkers/NavigatorServiceWorker.h
|
| diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.h b/Source/modules/serviceworkers/NavigatorServiceWorker.h
|
| index e1815657dd674b5c23cdb7db50abd0ef88a8a5da..8be661bb81a790abcec09f98ecf2d7338ffeef95 100644
|
| --- a/Source/modules/serviceworkers/NavigatorServiceWorker.h
|
| +++ b/Source/modules/serviceworkers/NavigatorServiceWorker.h
|
| @@ -5,13 +5,13 @@
|
| #ifndef NavigatorServiceWorker_h
|
| #define NavigatorServiceWorker_h
|
|
|
| -#include "bindings/v8/ScriptPromise.h"
|
| #include "core/frame/Navigator.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace WebCore {
|
|
|
| +class Document;
|
| class Navigator;
|
| class ServiceWorkerContainer;
|
|
|
| @@ -19,6 +19,7 @@ class NavigatorServiceWorker FINAL : public NoBaseWillBeGarbageCollectedFinalize
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorServiceWorker);
|
| public:
|
| virtual ~NavigatorServiceWorker();
|
| + static NavigatorServiceWorker* from(Document&);
|
| static NavigatorServiceWorker& from(Navigator&);
|
| static NavigatorServiceWorker* toNavigatorServiceWorker(Navigator&);
|
| static const char* supplementName();
|
|
|