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

Unified Diff: content/child/web_url_request_util.cc

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: content/child/web_url_request_util.cc
diff --git a/content/child/web_url_request_util.cc b/content/child/web_url_request_util.cc
index 51830c388fc82894eaf085e36dc777c19276fb24..a9ff30b9b2af4c3f40f7dc917378ee0042a28fbf 100644
--- a/content/child/web_url_request_util.cc
+++ b/content/child/web_url_request_util.cc
@@ -485,6 +485,7 @@ blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url,
error.reason = reason;
error.unreachableURL = unreachable_url;
error.staleCopyInCache = stale_copy_in_cache;
+ error.isCacheMiss = reason == net::ERR_CACHE_MISS;
if (reason == net::ERR_ABORTED) {
error.isCancellation = true;
} else if (reason == net::ERR_TEMPORARILY_THROTTLED) {

Powered by Google App Engine
This is Rietveld 408576698