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

Unified Diff: Source/core/loader/FrameFetchContext.cpp

Issue 1141883003: Enable `as` based priorities for <link rel=preload> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments Created 5 years, 7 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
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/LinkLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameFetchContext.cpp
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
index 2a2f80a4ea303b74a8e5201b98d3f18bd401cf6c..08668f63d2178f2cac8f8e69b5711383b062e67e 100644
--- a/Source/core/loader/FrameFetchContext.cpp
+++ b/Source/core/loader/FrameFetchContext.cpp
@@ -357,6 +357,7 @@ bool FrameFetchContext::canRequest(Resource::Type type, const ResourceRequest& r
case Resource::Raw:
case Resource::LinkPrefetch:
case Resource::LinkSubresource:
+ case Resource::LinkPreload:
case Resource::TextTrack:
case Resource::ImportResource:
case Resource::Media:
@@ -435,6 +436,7 @@ bool FrameFetchContext::canRequest(Resource::Type type, const ResourceRequest& r
case Resource::Raw:
case Resource::LinkPrefetch:
case Resource::LinkSubresource:
+ case Resource::LinkPreload:
break;
case Resource::Media:
case Resource::TextTrack:
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/LinkLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698