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

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

Issue 333423004: moved to https://codereview.chromium.org/399543002/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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
« no previous file with comments | « Source/modules/serviceworkers/FetchHeaderList.cpp ('k') | Source/modules/serviceworkers/FetchManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchManager.h
diff --git a/Source/modules/serviceworkers/FetchManager.h b/Source/modules/serviceworkers/FetchManager.h
index bfdfa7df6e8f07e3c95df6db4c0cc00cd13a4ed5..2ef908a9c2c7d2088c97cd49e16d18d673bf76b7 100644
--- a/Source/modules/serviceworkers/FetchManager.h
+++ b/Source/modules/serviceworkers/FetchManager.h
@@ -6,6 +6,11 @@
#define FetchManager_h
#include "bindings/core/v8/ScriptPromise.h"
+#include "modules/serviceworkers/FetchHeaderList.h"
+#include "modules/serviceworkers/FetchRequestData.h"
+#include "modules/serviceworkers/FetchResponseData.h"
+#include "platform/blob/BlobData.h"
+#include "platform/weborigin/KURL.h"
#include "wtf/HashSet.h"
#include "wtf/OwnPtr.h"
@@ -13,13 +18,20 @@ namespace WebCore {
class ExecutionContext;
class ScriptState;
+struct ResourceLoaderOptions;
class ResourceRequest;
+class SecurityOrigin;
+struct ThreadableLoaderOptions;
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&);
+ static bool isUsefulMethod(const String&);
static bool isSimpleMethod(const String&);
static bool isForbiddenMethod(const String&);
« no previous file with comments | « Source/modules/serviceworkers/FetchHeaderList.cpp ('k') | Source/modules/serviceworkers/FetchManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698