Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1079)

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h

Issue 399543002: [ServiceWorker] Make fetch() method better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated falken's comment Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
index 2ef4fe10f435cc407a0968ff2ef3b155399526af..772f463aba06f5ee93de95b80cfa2833b7ab31b5 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
@@ -39,6 +39,7 @@
namespace blink {
class CacheStorage;
+class Dictionary;
class FetchManager;
class Request;
class ScriptPromise;
@@ -62,7 +63,9 @@ public:
PassRefPtrWillBeRawPtr<CacheStorage> caches(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;
« no previous file with comments | « Source/modules/serviceworkers/Response.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698