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

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: incorporated kinuko's comment 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 d302289a0ac2ef50bc0465e4c8ddbf27da00b688..19e0b11b1df6707666c0297a8263784401e858e3 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