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

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: 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 eadbc97ca2ff94c562512a878e4cf1c3058ce861..7dc3f2533dacfc6fde64c7efb7ec942f23d2dec2 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