| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| index 3fab81ffd66dff884b7c39248466b9e6c8ef3c22..76bb55ca23b17e5648d0c00b325523b7610495ef 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| @@ -36,6 +36,9 @@
|
|
|
| namespace WebCore {
|
|
|
| +class FetchManager;
|
| +class Request;
|
| +class ScriptPromise;
|
| class ServiceWorkerThread;
|
| class ServiceWorkerClients;
|
| class WorkerThreadStartupData;
|
| @@ -46,10 +49,13 @@ public:
|
|
|
| virtual ~ServiceWorkerGlobalScope();
|
| virtual bool isServiceWorkerGlobalScope() const OVERRIDE { return true; }
|
| + virtual void stopFetch() OVERRIDE;
|
|
|
| // ServiceWorkerGlobalScope.idl
|
| PassRefPtr<ServiceWorkerClients> clients();
|
| String scope(ExecutionContext*);
|
| + ScriptPromise fetch(ScriptState*, Request*);
|
| + ScriptPromise fetch(ScriptState*, const String&);
|
|
|
| // EventTarget
|
| virtual const AtomicString& interfaceName() const OVERRIDE;
|
| @@ -66,6 +72,7 @@ private:
|
| ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients>);
|
|
|
| RefPtr<ServiceWorkerClients> m_clients;
|
| + OwnPtr<FetchManager> m_fetchManager;
|
| };
|
|
|
| } // namespace WebCore
|
|
|