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

Side by Side Diff: android_webview/native/aw_contents_statics.cc

Issue 2677813002: Revert of Enable HTTP cleartext configuration for Webview (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/native/aw_contents_statics.h" 5 #include "android_webview/native/aw_contents_statics.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_safe_browsing_config_helper.h" 8 #include "android_webview/browser/aw_safe_browsing_config_helper.h"
9 #include "android_webview/browser/net/aw_url_request_context_getter.h" 9 #include "android_webview/browser/net/aw_url_request_context_getter.h"
10 #include "android_webview/common/aw_version_info_values.h" 10 #include "android_webview/common/aw_version_info_values.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // static 92 // static
93 void SetServiceWorkerIoThreadClient( 93 void SetServiceWorkerIoThreadClient(
94 JNIEnv* env, 94 JNIEnv* env,
95 const JavaParamRef<jclass>&, 95 const JavaParamRef<jclass>&,
96 const base::android::JavaParamRef<jobject>& io_thread_client, 96 const base::android::JavaParamRef<jobject>& io_thread_client,
97 const base::android::JavaParamRef<jobject>& browser_context) { 97 const base::android::JavaParamRef<jobject>& browser_context) {
98 AwContentsIoThreadClientImpl::SetServiceWorkerIoThreadClient( 98 AwContentsIoThreadClientImpl::SetServiceWorkerIoThreadClient(
99 io_thread_client, browser_context); 99 io_thread_client, browser_context);
100 } 100 }
101 101
102 // static
103 void SetCheckClearTextPermitted(JNIEnv* env,
104 const JavaParamRef<jclass>&,
105 jboolean permitted) {
106 AwURLRequestContextGetter::set_check_cleartext_permitted(permitted);
107 }
108
109 bool RegisterAwContentsStatics(JNIEnv* env) { 102 bool RegisterAwContentsStatics(JNIEnv* env) {
110 return RegisterNativesImpl(env); 103 return RegisterNativesImpl(env);
111 } 104 }
112 105
113 } // namespace android_webview 106 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698