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

Unified Diff: third_party/WebKit/Source/platform/network/NetworkUtils.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/Source/platform/network/NetworkUtils.h
diff --git a/third_party/WebKit/Source/platform/network/NetworkUtils.h b/third_party/WebKit/Source/platform/network/NetworkUtils.h
index a57991769e54b4f895a2b0d547fae7a06bdc3c9c..3c7a85f0257e5df35f6c4f92f02cefb6ceab2bf9 100644
--- a/third_party/WebKit/Source/platform/network/NetworkUtils.h
+++ b/third_party/WebKit/Source/platform/network/NetworkUtils.h
@@ -33,6 +33,10 @@ PLATFORM_EXPORT PassRefPtr<SharedBuffer> parseDataURL(const KURL&,
AtomicString& mimetype,
AtomicString& charset);
+PLATFORM_EXPORT int cacheMissErrorCode();
+
+PLATFORM_EXPORT bool isCacheMissErrorCode(int code);
+
} // NetworkUtils
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698