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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchContext.h

Issue 2804843005: Implement the infrastructure of creating WorkerFetchContext in worker global scope. (Closed)
Patch Set: Created 3 years, 8 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: 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 8fd471cdb7d132b03cbe5532b3d3ea545d649752..c65e3d7227e0e08330d0fbaf4a58e5d06208d99c 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 };
@@ -201,6 +202,8 @@ class PLATFORM_EXPORT FetchContext
return platform_probe_sink_;
}
+ virtual WebURLLoader* CreateURLLoader() { return nullptr; }
+
protected:
FetchContext();

Powered by Google App Engine
This is Rietveld 408576698