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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchContext.h

Issue 1987413002: Add link preload as=document support Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crash fix Created 4 years, 3 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/core/fetch/FetchContext.h
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.h b/third_party/WebKit/Source/core/fetch/FetchContext.h
index b3de9b7bbbc974fb9f79ca01586d045c1ad23c15..7579c3b6c9c62ea8fc1e99d864d5fd348acd819a 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.h
@@ -83,7 +83,7 @@ public:
virtual void dispatchDidFinishLoading(unsigned long identifier, double finishTime, int64_t encodedDataLength);
virtual void dispatchDidFail(unsigned long identifier, const ResourceError&, bool isInternalRequest);
- virtual bool shouldLoadNewResource(Resource::Type) const { return false; }
+ virtual bool shouldLoadNewResource(Resource::Type, const WebURLRequest::FrameType) const { return false; }
virtual void willStartLoadingResource(unsigned long identifier, ResourceRequest&, Resource::Type);
virtual void didLoadResource(Resource*);
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/resources/test.html ('k') | third_party/WebKit/Source/core/fetch/FetchRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698