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

Unified Diff: android_webview/native/aw_contents_io_thread_client_impl.cc

Issue 2437423002: Move NewLoginRequest plumbing to AwContentsClientBridge (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « android_webview/native/aw_contents_io_thread_client_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents_io_thread_client_impl.cc
diff --git a/android_webview/native/aw_contents_io_thread_client_impl.cc b/android_webview/native/aw_contents_io_thread_client_impl.cc
index 7e8d6f1b07d3016da514df04ed316f831624616f..1d9a655beb4028ba36f4d66d629ae6a7a069540b 100644
--- a/android_webview/native/aw_contents_io_thread_client_impl.cc
+++ b/android_webview/native/aw_contents_io_thread_client_impl.cc
@@ -402,25 +402,6 @@ bool AwContentsIoThreadClientImpl::ShouldBlockNetworkLoads() const {
java_object_);
}
-void AwContentsIoThreadClientImpl::NewLoginRequest(const string& realm,
- const string& account,
- const string& args) {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
- if (java_object_.is_null())
- return;
-
- JNIEnv* env = AttachCurrentThread();
- ScopedJavaLocalRef<jstring> jrealm = ConvertUTF8ToJavaString(env, realm);
- ScopedJavaLocalRef<jstring> jargs = ConvertUTF8ToJavaString(env, args);
-
- ScopedJavaLocalRef<jstring> jaccount;
- if (!account.empty())
- jaccount = ConvertUTF8ToJavaString(env, account);
-
- Java_AwContentsIoThreadClient_newLoginRequest(env, java_object_, jrealm,
- jaccount, jargs);
-}
-
void AwContentsIoThreadClientImpl::OnReceivedError(
const net::URLRequest* request) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
« no previous file with comments | « android_webview/native/aw_contents_io_thread_client_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698