Chromium Code Reviews| Index: content/browser/loader/navigation_url_loader_delegate.h |
| diff --git a/content/browser/loader/navigation_url_loader_delegate.h b/content/browser/loader/navigation_url_loader_delegate.h |
| index f558c754579a2541c2261ec47c6c89ffebf70c8c..356389556037669500484497665bc8515f2ba6db 100644 |
| --- a/content/browser/loader/navigation_url_loader_delegate.h |
| +++ b/content/browser/loader/navigation_url_loader_delegate.h |
| @@ -36,8 +36,9 @@ class CONTENT_EXPORT NavigationURLLoaderDelegate { |
| scoped_ptr<StreamHandle> body_stream) = 0; |
| // Called if the request fails before receving a response. |net_error| is a |
| - // network error code for the failure. |
| - virtual void OnRequestFailed(int net_error) = 0; |
| + // network error code for the failure. |in_cache| is true if there is a stale |
| + // copy in cache. |
| + virtual void OnRequestFailed(bool in_cache, int net_error) = 0; |
|
Charlie Reis
2015/04/09 00:07:30
Same.
clamy
2015/04/10 14:04:49
Done.
|
| // Called after the network request has begun on the IO thread at time |
| // |timestamp|. This is just a thread hop but is used to compare timing |