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

Unified Diff: android_webview/native/android_protocol_handler.cc

Issue 284123004: [android_webview] Add more params to request intercepting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix accidentally broken test Created 6 years, 6 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/native/android_protocol_handler.cc
diff --git a/android_webview/native/android_protocol_handler.cc b/android_webview/native/android_protocol_handler.cc
index ac57ae98348ba2a31f00559a396a158c04f2091b..bc25e3662a20a2612268bbc3e43501d89c1930a6 100644
--- a/android_webview/native/android_protocol_handler.cc
+++ b/android_webview/native/android_protocol_handler.cc
@@ -77,6 +77,10 @@ class AndroidStreamReaderURLRequestJobDelegateImpl
InputStream* stream,
std::string* charset) OVERRIDE;
+ virtual void AppendResponseHeaders(
+ JNIEnv* env,
+ net::HttpResponseHeaders* headers) OVERRIDE;
+
virtual ~AndroidStreamReaderURLRequestJobDelegateImpl();
};
@@ -198,6 +202,12 @@ bool AndroidStreamReaderURLRequestJobDelegateImpl::GetCharset(
return false;
}
+void AndroidStreamReaderURLRequestJobDelegateImpl::AppendResponseHeaders(
+ JNIEnv* env,
+ net::HttpResponseHeaders* headers) {
+ // no-op
+}
+
// AndroidRequestInterceptorBase ----------------------------------------------
net::URLRequestJob* AndroidRequestInterceptorBase::MaybeInterceptRequest(

Powered by Google App Engine
This is Rietveld 408576698