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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchRequest.cpp

Issue 2249913003: Remove blink::Resource::Type::LinkPrefetch and replace it by a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/FetchRequest.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FetchRequest.cpp b/third_party/WebKit/Source/core/fetch/FetchRequest.cpp
index c589971a58d9e0ffaa617270ca16e3b42532f126..e93d4a991a6213d83bcb38eae9b82ea80a7a2ef5 100644
--- a/third_party/WebKit/Source/core/fetch/FetchRequest.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchRequest.cpp
@@ -36,6 +36,7 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const AtomicS
, m_options(ResourceFetcher::defaultResourceOptions())
, m_forPreload(false)
, m_linkPreload(false)
+ , m_isPrefetch(false)
, m_preloadDiscoveryTime(0.0)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
@@ -48,6 +49,7 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const AtomicS
, m_options(options)
, m_forPreload(false)
, m_linkPreload(false)
+ , m_isPrefetch(false)
, m_preloadDiscoveryTime(0.0)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
@@ -60,6 +62,7 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const FetchIn
, m_options(ResourceFetcher::defaultResourceOptions())
, m_forPreload(false)
, m_linkPreload(false)
+ , m_isPrefetch(false)
, m_preloadDiscoveryTime(0.0)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FetchRequest.h ('k') | third_party/WebKit/Source/core/fetch/LinkFetchResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698