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..bff08a70b147aa9b44f8c56e0856556b2ed45894 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; |
@@ -72,7 +76,8 @@ struct WebURLError { |
: reason(0), |
staleCopyInCache(false), |
isCancellation(false), |
- wasIgnoredByHandler(false) {} |
+ wasIgnoredByHandler(false), |
+ isCacheMiss(false) {} |
#if INSIDE_BLINK |
BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&); |