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

Issue 2930743002: Use a MojoProxyResolverFactory on Android. (Closed)

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

Description

Use a MojoProxyResolverFactory on Android. For simplicity, this CL renames and reuses the UtilityProcessMojoProxyResolverFactory to create the in-process factory on Android, and out-of-process one everywhere else, though the paths may need to be separated out again in the future. This CL will let us switch to using a URLRequestContextBuilderMojo to create URLRequestContexts. It does not really get us any closer to hooking up MojoProxyResolverFactories created in the browser to the network service, which is still a ways off. BUG=715695 Review-Url: https://codereview.chromium.org/2930743002 Cr-Commit-Position: refs/heads/master@{#478435} Committed: https://chromium.googlesource.com/chromium/src/+/1bb4d98b866875041d80b5134eff3e64529382d5

Patch Set 1 #

Patch Set 2 : Remove some changes #

Patch Set 3 : Test #

Patch Set 4 : Flesh out changes, rename #

Patch Set 5 : Uninteresting merge #

Total comments: 9

Patch Set 6 : Response to comments #

Patch Set 7 : Oops (x2) #

Patch Set 8 : Oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -285 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 chunks +4 lines, -3 lines 0 comments Download
A + chrome/browser/net/chrome_mojo_proxy_resolver_factory.h View 1 2 3 4 5 4 chunks +26 lines, -21 lines 0 comments Download
A + chrome/browser/net/chrome_mojo_proxy_resolver_factory.cc View 1 2 3 4 5 6 7 3 chunks +65 lines, -53 lines 0 comments Download
M chrome/browser/net/proxy_service_factory.cc View 1 2 3 3 chunks +3 lines, -16 lines 0 comments Download
M chrome/browser/net/utility_process_mojo_proxy_resolver_factory.h View 1 2 3 1 chunk +0 lines, -71 lines 0 comments Download
M chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc View 1 2 3 1 chunk +0 lines, -121 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 37 (31 generated)
mmenke
Note that set 4 has basically passed all tests, and set 5 is identical, just ...
3 years, 6 months ago (2017-06-08 22:32:41 UTC) #14
eroman
LGTM. Also cc-ing sammc for a sanity check, since he is a mojo expert. https://codereview.chromium.org/2930743002/diff/120001/chrome/browser/net/chrome_mojo_proxy_resolver_factory.cc ...
3 years, 6 months ago (2017-06-08 23:01:43 UTC) #15
mmenke
Thanks for the feedback! I'll plan to tonight or Monday unless sammc chimes in with ...
3 years, 6 months ago (2017-06-09 15:20:41 UTC) #18
mmenke
Response to another comment. https://codereview.chromium.org/2930743002/diff/120001/chrome/browser/net/chrome_mojo_proxy_resolver_factory.cc File chrome/browser/net/chrome_mojo_proxy_resolver_factory.cc (right): https://codereview.chromium.org/2930743002/diff/120001/chrome/browser/net/chrome_mojo_proxy_resolver_factory.cc#newcode75 chrome/browser/net/chrome_mojo_proxy_resolver_factory.cc:75: &ChromeMojoProxyResolverFactory::DestroyFactory, base::Unretained(this))); On 2017/06/08 23:01:43, ...
3 years, 6 months ago (2017-06-09 15:26:50 UTC) #21
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/2930743002/180001
3 years, 6 months ago (2017-06-09 22:17:16 UTC) #34
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 22:22:22 UTC) #37
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/1bb4d98b866875041d80b5134eff...

Powered by Google App Engine
This is Rietveld 408576698