| Index: third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| index d302289a0ac2ef50bc0465e4c8ddbf27da00b688..5f793fb1885a29756908692e63e1613a32d8f1f1 100644
|
| --- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| +++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
|
| @@ -52,6 +52,7 @@ class ResourceError;
|
| class ResourceResponse;
|
| class ResourceTimingInfo;
|
| class WebTaskRunner;
|
| +class WebURLLoader;
|
| enum class WebCachePolicy;
|
|
|
| enum FetchResourceType { kFetchMainResource, kFetchSubresource };
|
| @@ -165,6 +166,8 @@ class PLATFORM_EXPORT FetchContext
|
| virtual bool IsControlledByServiceWorker() const { return false; }
|
| virtual int64_t ServiceWorkerID() const { return -1; }
|
|
|
| + virtual int ApplicationCacheHostID() const { return 0; }
|
| +
|
| virtual bool IsMainFrame() const { return true; }
|
| virtual bool DefersLoading() const { return false; }
|
| virtual bool IsLoadComplete() const { return false; }
|
| @@ -195,12 +198,17 @@ class PLATFORM_EXPORT FetchContext
|
| return priority;
|
| }
|
|
|
| + virtual RefPtr<WebTaskRunner> TimerTaskRunner() const { return nullptr; }
|
| virtual RefPtr<WebTaskRunner> LoadingTaskRunner() const { return nullptr; }
|
|
|
| PlatformProbeSink* GetPlatformProbeSink() const {
|
| return platform_probe_sink_;
|
| }
|
|
|
| + virtual Resource::ResourceCallback* GetResourceCallback() { return nullptr; }
|
| +
|
| + virtual WebURLLoader* CreateURLLoader() { return nullptr; }
|
| +
|
| protected:
|
| FetchContext();
|
|
|
|
|