| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| index 3fab81ffd66dff884b7c39248466b9e6c8ef3c22..63af59c32015c47cbd94dacae0d82c07068f69ba 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;
|
| @@ -50,6 +53,8 @@ public:
|
| // 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 +71,7 @@ private:
|
| ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients>);
|
|
|
| RefPtr<ServiceWorkerClients> m_clients;
|
| + OwnPtr<FetchManager> m_fetchManager;
|
| };
|
|
|
| } // namespace WebCore
|
|
|