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

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: Created 6 years, 7 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 858d0fe16a8419c11516b6e39754e0039726bd0c..1e7ce6a94ffddc4991403ceee4b075a4d3cf8b5b 100644
--- a/android_webview/native/android_protocol_handler.cc
+++ b/android_webview/native/android_protocol_handler.cc
@@ -77,6 +77,9 @@ class AndroidStreamReaderURLRequestJobDelegateImpl
InputStream* stream,
std::string* charset) OVERRIDE;
+ virtual void UpdateHeaders(JNIEnv* env,
+ net::HttpResponseHeaders* headers) OVERRIDE;
+
virtual ~AndroidStreamReaderURLRequestJobDelegateImpl();
};
@@ -197,6 +200,12 @@ bool AndroidStreamReaderURLRequestJobDelegateImpl::GetCharset(
return false;
}
+void AndroidStreamReaderURLRequestJobDelegateImpl::UpdateHeaders(
+ JNIEnv* env,
+ net::HttpResponseHeaders* headers) {
+ // no-op
+}
+
// AndroidProtocolHandlerBase -------------------------------------------------
net::URLRequestJob* AndroidProtocolHandlerBase::MaybeCreateJob(

Powered by Google App Engine
This is Rietveld 408576698