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

Unified Diff: Source/modules/serviceworkers/FetchManager.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: remove Source/core/timing/Performance.cpp 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/FetchManager.h
diff --git a/Source/modules/serviceworkers/FetchManager.h b/Source/modules/serviceworkers/FetchManager.h
index bfdfa7df6e8f07e3c95df6db4c0cc00cd13a4ed5..b6077f71f7e83a1c6a3edbbd693a2a0aab6f157f 100644
--- a/Source/modules/serviceworkers/FetchManager.h
+++ b/Source/modules/serviceworkers/FetchManager.h
@@ -12,6 +12,7 @@
namespace WebCore {
class ExecutionContext;
+class FetchRequestData;
class ScriptState;
class ResourceRequest;
@@ -19,7 +20,7 @@ class FetchManager {
public:
FetchManager(ExecutionContext*);
~FetchManager();
- ScriptPromise fetch(ScriptState*, PassOwnPtr<ResourceRequest>);
+ ScriptPromise fetch(ScriptState*, PassRefPtr<FetchRequestData>);
static bool isSimpleMethod(const String&);
static bool isForbiddenMethod(const String&);

Powered by Google App Engine
This is Rietveld 408576698