| 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&);
|
|
|