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

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

Issue 329853012: [ServiceWorker] Make Request class better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Copy headers in FetchRequestData::createRestrictedCopy(). Created 6 years, 6 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 730a9a6261be752539a5bc444b9cd31523a8d571..bfdfa7df6e8f07e3c95df6db4c0cc00cd13a4ed5 100644
--- a/Source/modules/serviceworkers/FetchManager.h
+++ b/Source/modules/serviceworkers/FetchManager.h
@@ -21,6 +21,9 @@ public:
~FetchManager();
ScriptPromise fetch(ScriptState*, PassOwnPtr<ResourceRequest>);
+ static bool isSimpleMethod(const String&);
+ static bool isForbiddenMethod(const String&);
+ static bool isUsefulMethod(const String&);
private:
class Loader;

Powered by Google App Engine
This is Rietveld 408576698