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

Unified Diff: third_party/WebKit/public/platform/WebURLError.h

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: handle font-display: swap 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/public/platform/WebURLError.h
diff --git a/third_party/WebKit/public/platform/WebURLError.h b/third_party/WebKit/public/platform/WebURLError.h
index 9fdbe756640b8983e9566e6af4714539d78d7ff5..f4756993b5d9ec9505bd7b647a92575bbc12d4d3 100644
--- a/third_party/WebKit/public/platform/WebURLError.h
+++ b/third_party/WebKit/public/platform/WebURLError.h
@@ -62,6 +62,10 @@ struct WebURLError {
// ignored (e.g. through shouldOverrideUrlLoading).
bool wasIgnoredByHandler;
+ // A flag showing whether this error is a disk cache miss by requesting to
+ // load only from cache (net::ERR_CACHE_MISS).
+ bool isCacheMiss;
+
// The url that failed to load.
WebURL unreachableURL;

Powered by Google App Engine
This is Rietveld 408576698