| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| index f2d2e79a5c764a6075b9755bd84cb8abc37a45ef..8815d46b64591f52d1cffa073c664e13902d7ee4 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
|
| @@ -36,6 +36,7 @@
|
|
|
| namespace WebCore {
|
|
|
| +class Dictionary;
|
| class FetchManager;
|
| class Request;
|
| class ScriptPromise;
|
| @@ -56,7 +57,9 @@ public:
|
| PassRefPtr<ServiceWorkerClients> clients();
|
| String scope(ExecutionContext*);
|
| ScriptPromise fetch(ScriptState*, Request*);
|
| + ScriptPromise fetch(ScriptState*, Request*, const Dictionary&);
|
| ScriptPromise fetch(ScriptState*, const String&);
|
| + ScriptPromise fetch(ScriptState*, const String&, const Dictionary&);
|
|
|
| // EventTarget
|
| virtual const AtomicString& interfaceName() const OVERRIDE;
|
| @@ -72,6 +75,7 @@ public:
|
| private:
|
| ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients>);
|
| virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>) OVERRIDE;
|
| + ScriptPromise fetch(ScriptState*, PassRefPtr<Request>);
|
|
|
| RefPtr<ServiceWorkerClients> m_clients;
|
| OwnPtr<FetchManager> m_fetchManager;
|
|
|