| Index: android_webview/browser/aw_contents_io_thread_client.h
|
| diff --git a/android_webview/browser/aw_contents_io_thread_client.h b/android_webview/browser/aw_contents_io_thread_client.h
|
| index e9a0bf3411514f0f28d08fdd5223375034ab3b9f..82968ed4cf718ad38d50a98765c5e8cc27c7ef76 100644
|
| --- a/android_webview/browser/aw_contents_io_thread_client.h
|
| +++ b/android_webview/browser/aw_contents_io_thread_client.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/callback_forward.h"
|
|
|
| namespace net {
|
| +class HttpResponseHeaders;
|
| class URLRequest;
|
| }
|
|
|
| @@ -94,6 +95,15 @@
|
|
|
| // Retrieve the AcceptThirdPartyCookies setting value of this AwContents.
|
| virtual bool ShouldAcceptThirdPartyCookies() const = 0;
|
| +
|
| + // Called when a resource loading error has occured (e.g. an I/O error,
|
| + // host name lookup failure etc.)
|
| + virtual void OnReceivedError(const net::URLRequest* request) = 0;
|
| +
|
| + // Called when a response from the server is received with status code >= 400.
|
| + virtual void OnReceivedHttpError(
|
| + const net::URLRequest* request,
|
| + const net::HttpResponseHeaders* response_headers) = 0;
|
| };
|
|
|
| } // namespace android_webview
|
|
|