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

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

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: RemoteFontFaceSource cache-aware behavior, fix Created 4 years, 2 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 952e4d42a6954ad986d6f628e54ff29326e327b9..05e300186004759bfa52d4f0d5161e850a1e325a 100644
--- a/third_party/WebKit/Source/core/fetch/FetchRequest.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchRequest.cpp
@@ -40,7 +40,8 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest,
m_linkPreload(false),
m_preloadDiscoveryTime(0.0),
m_defer(NoDefer),
- m_originRestriction(UseDefaultOriginRestrictionForType) {
+ m_originRestriction(UseDefaultOriginRestrictionForType),
+ m_isCacheAwareLoadingEnabled(false) {
m_options.initiatorInfo.name = initiator;
}
@@ -53,7 +54,8 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest,
m_linkPreload(false),
m_preloadDiscoveryTime(0.0),
m_defer(NoDefer),
- m_originRestriction(UseDefaultOriginRestrictionForType) {
+ m_originRestriction(UseDefaultOriginRestrictionForType),
+ m_isCacheAwareLoadingEnabled(false) {
m_options.initiatorInfo.name = initiator;
}
@@ -65,7 +67,8 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest,
m_linkPreload(false),
m_preloadDiscoveryTime(0.0),
m_defer(NoDefer),
- m_originRestriction(UseDefaultOriginRestrictionForType) {
+ m_originRestriction(UseDefaultOriginRestrictionForType),
+ m_isCacheAwareLoadingEnabled(false) {
m_options.initiatorInfo = initiator;
}

Powered by Google App Engine
This is Rietveld 408576698