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

Unified Diff: android_webview/browser/aw_contents_io_thread_client.h

Issue 976393002: [Android WebView] Implement OnReceivedHttpError callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: 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 cb8bc26d197e241d13a4cce8f0d95e5bd11608cb..2232b6d2de7efd583ad1e67a05b2069b7c8d1964 100644
--- a/android_webview/browser/aw_contents_io_thread_client.h
+++ b/android_webview/browser/aw_contents_io_thread_client.h
@@ -12,6 +12,7 @@
class GURL;
namespace net {
+class HttpResponseHeaders;
class URLRequest;
}
@@ -102,6 +103,10 @@ class AwContentsIoThreadClient {
virtual void NewLoginRequest(const std::string& realm,
const std::string& account,
const std::string& args) = 0;
+
+ virtual void OnHeadersReceived(
+ const net::URLRequest* request,
+ const net::HttpResponseHeaders* response_headers) = 0;
};
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698