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

Issue 2676913002: Enable HTTP cleartext configuration for Webview (Closed)

Created:
3 years, 10 months ago by sgurun-gerrit only
Modified:
3 years, 10 months ago
Reviewers:
boliu
CC:
chromium-reviews, cbentzel+watch_chromium.org, agrieve+watch_chromium.org, android-webview-reviews_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable HTTP cleartext configuration for Webview Android platform enabled a mechanism for apps to opt out of cleartext traffic in Android M. WebView did not participate in this though. This CL enables applications that are targeting Android O or later to enable this feature. The actual feature and how apps can opt out is described in https://developer.android.com/training/articles/security-config.html The tests for this feature will be added to CTS later. BUG=473848 Review-Url: https://codereview.chromium.org/2676913002 Cr-Commit-Position: refs/heads/master@{#448158} Committed: https://chromium.googlesource.com/chromium/src/+/db5b9203ab60a38348111860ba713970f8c1df92

Patch Set 1 #

Total comments: 2

Patch Set 2 : address code review #

Patch Set 3 : better not to break other entry points #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -2 lines) Patch
M android_webview/browser/net/aw_url_request_context_getter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 chunks +18 lines, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java View 2 chunks +5 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents_statics.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
sgurun-gerrit only
On 2017/02/03 23:06:48, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:boliu@chromium.org ptal, thanks
3 years, 10 months ago (2017-02-03 23:06:57 UTC) #3
boliu
https://codereview.chromium.org/2676913002/diff/1/android_webview/browser/net/aw_url_request_context_getter.cc File android_webview/browser/net/aw_url_request_context_getter.cc (right): https://codereview.chromium.org/2676913002/diff/1/android_webview/browser/net/aw_url_request_context_getter.cc#newcode304 android_webview/browser/net/aw_url_request_context_getter.cc:304: g_check_cleartext_permitted = permitted; Please DCHECK that this must be ...
3 years, 10 months ago (2017-02-03 23:12:37 UTC) #4
sgurun-gerrit only
https://codereview.chromium.org/2676913002/diff/1/android_webview/browser/net/aw_url_request_context_getter.cc File android_webview/browser/net/aw_url_request_context_getter.cc (right): https://codereview.chromium.org/2676913002/diff/1/android_webview/browser/net/aw_url_request_context_getter.cc#newcode304 android_webview/browser/net/aw_url_request_context_getter.cc:304: g_check_cleartext_permitted = permitted; On 2017/02/03 23:12:37, boliu wrote: > ...
3 years, 10 months ago (2017-02-04 00:40:29 UTC) #5
sgurun-gerrit only
On 2017/02/04 00:40:29, sgurun wrote: > https://codereview.chromium.org/2676913002/diff/1/android_webview/browser/net/aw_url_request_context_getter.cc > File android_webview/browser/net/aw_url_request_context_getter.cc (right): > > https://codereview.chromium.org/2676913002/diff/1/android_webview/browser/net/aw_url_request_context_getter.cc#newcode304 > ...
3 years, 10 months ago (2017-02-04 01:36:34 UTC) #6
boliu
lgtm
3 years, 10 months ago (2017-02-04 01:42:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676913002/40001
3 years, 10 months ago (2017-02-04 01:42:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676913002/40001
3 years, 10 months ago (2017-02-04 03:20:23 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-04 05:21:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676913002/40001
3 years, 10 months ago (2017-02-04 13:34:55 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-04 15:35:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676913002/40001
3 years, 10 months ago (2017-02-04 23:33:33 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/db5b9203ab60a38348111860ba713970f8c1df92
3 years, 10 months ago (2017-02-05 00:01:31 UTC) #23
findit-for-me
FYI: Findit identified this CL at revision 448158 as the culprit for failures in the ...
3 years, 10 months ago (2017-02-05 00:19:06 UTC) #24
dcheng
On 2017/02/05 00:19:06, findit-for-me wrote: > FYI: Findit identified this CL at revision 448158 as ...
3 years, 10 months ago (2017-02-05 00:35:55 UTC) #25
dcheng
3 years, 10 months ago (2017-02-05 00:37:03 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2677813002/ by dcheng@chromium.org.

The reason for reverting is: Broke the Android chromium builder.
http://build.chromium.org/p/chromium/buildstatus?builder=Android&number=67870.

Powered by Google App Engine
This is Rietveld 408576698