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

Issue 2929153002: Use URLRequestContextBuilderMojo to create the SystemURLRequestContext. (Closed)

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

Description

Use URLRequestContextBuilderMojo to create the SystemURLRequestContext. Also adds a DhcpProxyScriptFetcherFactoryChromeos, to inject into the URLRequestContextBuilder on ChromeOS (The actual fetcher must be created after the URLRequestContext, and the factory avoids the whole chicken/egg thing). BUG=715695 Review-Url: https://codereview.chromium.org/2929153002 Cr-Commit-Position: refs/heads/master@{#479854} Committed: https://chromium.googlesource.com/chromium/src/+/14085ad54d50252bcadd1b1d7dc4a0bca2c9c5b3

Patch Set 1 #

Patch Set 2 : Remove ability to disable DhcpFetcherFactories, as it's only used in tests #

Patch Set 3 : Fixes #

Patch Set 4 : Forgot the ProxyConfigService.... #

Patch Set 5 : Oops #

Patch Set 6 : Erm... Oops (and merge). #

Total comments: 2

Patch Set 7 : Merge #

Total comments: 19
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -177 lines) Patch
M chrome/browser/io_thread.h View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 9 chunks +55 lines, -88 lines 9 comments Download
M chromeos/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A chromeos/network/dhcp_proxy_script_fetcher_factory_chromeos.h View 1 2 1 chunk +40 lines, -0 lines 2 comments Download
A chromeos/network/dhcp_proxy_script_fetcher_factory_chromeos.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M net/proxy/dhcp_proxy_script_fetcher.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/dhcp_proxy_script_fetcher.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/proxy/dhcp_proxy_script_fetcher_factory.h View 1 2 chunks +3 lines, -18 lines 0 comments Download
M net/proxy/dhcp_proxy_script_fetcher_factory.cc View 1 2 1 chunk +5 lines, -31 lines 2 comments Download
M net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc View 1 2 1 chunk +10 lines, -35 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 3 4 3 chunks +7 lines, -0 lines 2 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M net/url_request/url_request_context_builder_mojo.h View 1 2 3 4 1 chunk +1 line, -1 line 4 comments Download

Dependent Patchsets:

Messages

Total messages: 72 (47 generated)
mmenke
Wasn't quite expecting it to take me a month just to get this far, with ...
3 years, 6 months ago (2017-06-10 01:35:33 UTC) #36
mmenke
https://codereview.chromium.org/2929153002/diff/200001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/2929153002/diff/200001/chrome/browser/io_thread.cc#newcode887 chrome/browser/io_thread.cc:887: builder.set_proxy_config_service(std::move(system_proxy_config_service_)); These two blocks are basically inlining ProxyServiceFactory::CreateProxyService (Though ...
3 years, 6 months ago (2017-06-10 01:37:41 UTC) #37
mmenke
Randy, this goes without saying, but I'll say it anyways, please do feel free to ...
3 years, 6 months ago (2017-06-13 14:08:44 UTC) #40
Randy Smith (Not in Mondays)
On 2017/06/13 14:08:44, mmenke wrote: > Randy, this goes without saying, but I'll say it ...
3 years, 6 months ago (2017-06-13 15:10:59 UTC) #43
Randy Smith (Not in Mondays)
QQ: What's the story with the dependent CLs? They don't look like they're intended to ...
3 years, 6 months ago (2017-06-13 15:23:55 UTC) #44
Randy Smith (Not in Mondays)
On 2017/06/13 15:23:55, Randy Smith (Not in Mondays) wrote: > QQ: What's the story with ...
3 years, 6 months ago (2017-06-13 15:24:24 UTC) #45
mmenke
On 2017/06/13 15:23:55, Randy Smith (Not in Mondays) wrote: > QQ: What's the story with ...
3 years, 6 months ago (2017-06-13 15:30:27 UTC) #46
mmenke
On 2017/06/13 15:24:24, Randy Smith (Not in Mondays) wrote: > On 2017/06/13 15:23:55, Randy Smith ...
3 years, 6 months ago (2017-06-13 15:31:19 UTC) #47
Randy Smith (Not in Mondays)
Request that's parallel to and separate from this CL: URLRequestContextBuilder doesn't really appear to have ...
3 years, 6 months ago (2017-06-13 15:35:08 UTC) #48
mmenke
On 2017/06/13 15:35:08, Randy Smith (Not in Mondays) wrote: > Request that's parallel to and ...
3 years, 6 months ago (2017-06-13 15:39:57 UTC) #49
Randy Smith (Not in Mondays)
On 2017/06/13 15:39:57, mmenke wrote: > On 2017/06/13 15:35:08, Randy Smith (Not in Mondays) wrote: ...
3 years, 6 months ago (2017-06-13 15:43:40 UTC) #50
Randy Smith (Not in Mondays)
Initial comments. If you could respond with the location of the code from which the ...
3 years, 6 months ago (2017-06-13 16:42:15 UTC) #53
mmenke
Thanks for the thoughtful review! https://codereview.chromium.org/2929153002/diff/220001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (left): https://codereview.chromium.org/2929153002/diff/220001/chrome/browser/io_thread.cc#oldcode907 chrome/browser/io_thread.cc:907: base::MakeUnique<net::DataProtocolHandler>()); On 2017/06/13 16:42:15, ...
3 years, 6 months ago (2017-06-13 17:02:22 UTC) #54
mmenke
https://codereview.chromium.org/2929153002/diff/220001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (left): https://codereview.chromium.org/2929153002/diff/220001/chrome/browser/io_thread.cc#oldcode913 chrome/browser/io_thread.cc:913: base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}))); On 2017/06/13 17:02:22, mmenke wrote: > On 2017/06/13 ...
3 years, 6 months ago (2017-06-13 17:34:41 UTC) #55
Randy Smith (Not in Mondays)
I'm good with this CL as written, so LGTM (though there are a couple of ...
3 years, 6 months ago (2017-06-15 19:13:30 UTC) #56
mmenke
On 2017/06/15 19:13:30, Randy Smith (Not in Mondays) wrote: > I'm good with this CL ...
3 years, 6 months ago (2017-06-15 19:33:24 UTC) #57
Randy Smith (Not in Mondays)
On 2017/06/15 19:33:24, mmenke wrote: > On 2017/06/15 19:13:30, Randy Smith (Not in Mondays) wrote: ...
3 years, 6 months ago (2017-06-15 19:51:47 UTC) #58
mmenke
I'll think a bit more about testing the builder (Though making a TestURLRequestContextBuilder and using ...
3 years, 6 months ago (2017-06-15 19:53:56 UTC) #59
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/2929153002/220001
3 years, 6 months ago (2017-06-15 19:54:55 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/465120)
3 years, 6 months ago (2017-06-15 20:05:24 UTC) #63
mmenke
[+stevenjb]: Please review chromeos/. Thanks!
3 years, 6 months ago (2017-06-15 20:08:48 UTC) #65
stevenjb
FWIW, it seems like the io_thread.cc refactoring should be separated out, but the chromeos/ changes ...
3 years, 6 months ago (2017-06-15 20:21:37 UTC) #66
mmenke
On 2017/06/15 20:21:37, stevenjb wrote: > FWIW, it seems like the io_thread.cc refactoring should be ...
3 years, 6 months ago (2017-06-15 20:26:08 UTC) #67
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/2929153002/220001
3 years, 6 months ago (2017-06-15 20:26:53 UTC) #69
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 21:54:09 UTC) #72
Message was sent while issue was closed.
Committed patchset #7 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/14085ad54d50252bcadd1b1d7dc4...

Powered by Google App Engine
This is Rietveld 408576698