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

Issue 2919423002: Make URLRequestContextBuilderV8 Mojo-only. (Closed)

Created:
3 years, 6 months ago by mmenke
Modified:
3 years, 6 months ago
Reviewers:
Lei Zhang, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make URLRequestContextBuilderV8 Mojo-only. This will let us use an in-process Mojo resolver on Android, making the transition to using a network service easier. Network service will have the same Mojo interface on Android, even if it's running in process, and will be passed a Mojo ProxyResolverFactory there as well, just as on other platforms. Only difference is it will create in-process ProxyResolvers, instead of ProxyResolvers in a utility process. Also move some proxy settings from URLRequestContextBuilderV8 to URLRequestContextBuilder. BUG=715695 Review-Url: https://codereview.chromium.org/2919423002 Cr-Commit-Position: refs/heads/master@{#478071} Committed: https://chromium.googlesource.com/chromium/src/+/e2ad99246ebaa3e6b0a037907a21ea6c692de4ab

Patch Set 1 #

Patch Set 2 : Do less in this CL #

Patch Set 3 : Merge #

Patch Set 4 : gn bug workaround #

Total comments: 5

Patch Set 5 : Response to comments, fix net Mojo tests on Android, change chrome/utility workaround approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -366 lines) Patch
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/BUILD.gn View 1 2 7 chunks +6 lines, -36 lines 0 comments Download
M net/test/run_all_unittests.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
A net/url_request/url_request_context_builder_mojo.h View 1 1 chunk +65 lines, -0 lines 0 comments Download
A net/url_request/url_request_context_builder_mojo.cc View 1 1 chunk +45 lines, -0 lines 0 comments Download
A + net/url_request/url_request_context_builder_mojo_unittest.cc View 1 6 chunks +22 lines, -40 lines 0 comments Download
M net/url_request/url_request_context_builder_v8.h View 1 1 chunk +0 lines, -92 lines 0 comments Download
M net/url_request/url_request_context_builder_v8.cc View 1 1 chunk +0 lines, -64 lines 0 comments Download
M net/url_request/url_request_context_builder_v8_unittest.cc View 1 1 chunk +0 lines, -131 lines 0 comments Download

Messages

Total messages: 46 (29 generated)
mmenke
https://codereview.chromium.org/2919423002/diff/60001/chrome/utility/BUILD.gn File chrome/utility/BUILD.gn (right): https://codereview.chromium.org/2919423002/diff/60001/chrome/utility/BUILD.gn#newcode53 chrome/utility/BUILD.gn:53: "//net:net_utility_services", This isn't a real dependency, but gn --check ...
3 years, 6 months ago (2017-06-07 19:18:39 UTC) #18
eroman
What is your end-goal with the network servicification in terms of process organization? Will the ...
3 years, 6 months ago (2017-06-07 19:46:15 UTC) #19
mmenke
On 2017/06/07 19:46:15, eroman wrote: > What is your end-goal with the network servicification in ...
3 years, 6 months ago (2017-06-07 19:57:39 UTC) #20
mmenke
On 2017/06/07 19:57:39, mmenke wrote: > On 2017/06/07 19:46:15, eroman wrote: > > What is ...
3 years, 6 months ago (2017-06-07 19:58:36 UTC) #21
mmenke
On 2017/06/07 19:58:36, mmenke wrote: > On 2017/06/07 19:57:39, mmenke wrote: > > On 2017/06/07 ...
3 years, 6 months ago (2017-06-07 20:00:13 UTC) #22
mmenke
On 2017/06/07 20:00:13, mmenke wrote: > On 2017/06/07 19:58:36, mmenke wrote: > > On 2017/06/07 ...
3 years, 6 months ago (2017-06-07 20:07:04 UTC) #23
mmenke
On 2017/06/07 20:07:04, mmenke wrote: > On 2017/06/07 20:00:13, mmenke wrote: > > On 2017/06/07 ...
3 years, 6 months ago (2017-06-07 20:09:16 UTC) #24
eroman
So just to be clear on some details: Android Chrome browser uses V8-based PAC evaluator. ...
3 years, 6 months ago (2017-06-08 00:45:56 UTC) #27
eroman
note - test failures on android
3 years, 6 months ago (2017-06-08 00:47:16 UTC) #28
mmenke
Thanks! Everything should be working, now. *grumble*...Weird globals needing to be initialized...*grumble*. https://codereview.chromium.org/2919423002/diff/60001/net/url_request/url_request_context_builder.cc File net/url_request/url_request_context_builder.cc ...
3 years, 6 months ago (2017-06-08 16:36:29 UTC) #31
mmenke
On 2017/06/08 00:45:56, eroman wrote: > So just to be clear on some details: > ...
3 years, 6 months ago (2017-06-08 18:05:07 UTC) #34
eroman
lgtm
3 years, 6 months ago (2017-06-08 19:48:46 UTC) #35
mmenke
[+thestig]: TBRing you for a change to chrome/utility/chrome_content_utility_client.cc (Adding "nogncheck" to a line, since we ...
3 years, 6 months ago (2017-06-08 19:55:24 UTC) #37
Lei Zhang
lgtm BTW s/ he/ the/ in the commit msg.
3 years, 6 months ago (2017-06-08 20:18:33 UTC) #39
mmenke
On 2017/06/08 20:18:33, Lei Zhang wrote: > lgtm > > BTW s/ he/ the/ in ...
3 years, 6 months ago (2017-06-08 20:21:20 UTC) #41
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/2919423002/80001
3 years, 6 months ago (2017-06-08 20:22:12 UTC) #43
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 20:27:59 UTC) #46
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e2ad99246ebaa3e6b0a037907a21...

Powered by Google App Engine
This is Rietveld 408576698