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

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

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: switchToSwapPeriod(), Inspector disable cache check workaround 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..84b750f02b71c7b7a24efd70a9df96b8e34115fd 100644
--- a/third_party/WebKit/public/platform/WebURLError.h
+++ b/third_party/WebKit/public/platform/WebURLError.h
@@ -78,6 +78,9 @@ struct WebURLError {
BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&);
BLINK_PLATFORM_EXPORT WebURLError& operator=(const ResourceError&);
BLINK_PLATFORM_EXPORT operator ResourceError() const;
+
+ BLINK_PLATFORM_EXPORT static WebURLError cacheMissError();
+ BLINK_PLATFORM_EXPORT bool isCacheMiss() const;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698