Chromium Code Reviews| Index: public/platform/WebURLError.h |
| diff --git a/public/platform/WebURLError.h b/public/platform/WebURLError.h |
| index 14553d0288b209b72154aa185441e6ea00aab25b..cdd0b6abb0e87eb6333e404e32de15f65bb3dc84 100644 |
| --- a/public/platform/WebURLError.h |
| +++ b/public/platform/WebURLError.h |
| @@ -52,6 +52,10 @@ struct WebURLError { |
| // embedder (see for example WebFrameClient). |
| int reason; |
| + // A flag showing whether or not "unreachableURL" has a copy in the |
| + // cache that was too stale to return for this request. |
| + bool staleCopyInCache; |
|
abarth-chromium
2014/01/27 18:05:31
How likely do you think it is that we'll want to a
Randy Smith (Not in Mondays)
2014/01/27 19:13:56
Good question. In the area that I'm currently wor
|
| + |
| // A flag showing whether this error should be treated as a cancellation, |
| // e.g. we do not show console errors for cancellations. |
| bool isCancellation; |
| @@ -62,7 +66,7 @@ struct WebURLError { |
| // A description for the error. |
| WebString localizedDescription; |
| - WebURLError() : reason(0), isCancellation(false) { } |
| + WebURLError() : reason(0), staleCopyInCache(false), isCancellation(false) { } |
| #if INSIDE_BLINK |
| BLINK_PLATFORM_EXPORT WebURLError(const WebCore::ResourceError&); |