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

Issue 354693004: Switch to using URLRequestContextBuilder to create some URLRequestContexts. (Closed)

Created:
6 years, 6 months ago by mmenke
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, chromoting-reviews_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Switch to using URLRequestContextBuilder to create some contexts. Also add missing functionality to URLRequestContextBuilder to fit their needs. This is intended to simplify code to initialize the network stack, and make it easier to refactor network stack initialization. BUG=388836 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281638

Patch Set 1 #

Patch Set 2 : Fix includes #

Patch Set 3 : Fix more includes #

Patch Set 4 : Update comments #

Total comments: 11

Patch Set 5 : Response to comments #

Total comments: 2

Patch Set 6 : Rebase #

Patch Set 7 : Fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -763 lines) Patch
M chrome/chrome.gyp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_auth.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/service/net/service_url_request_context.h View 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/service/net/service_url_request_context.cc View 1 chunk +0 lines, -176 lines 0 comments Download
A + chrome/service/net/service_url_request_context_getter.h View 3 chunks +3 lines, -20 lines 0 comments Download
A + chrome/service/net/service_url_request_context_getter.cc View 5 chunks +13 lines, -59 lines 0 comments Download
M chrome/service/service_process.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/network_context.h View 2 chunks +1 line, -9 lines 0 comments Download
M mojo/services/network/network_context.cc View 1 2 3 4 1 chunk +13 lines, -94 lines 0 comments Download
M mojo/services/network/url_loader_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 3 6 chunks +32 lines, -10 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 7 chunks +80 lines, -30 lines 0 comments Download
D remoting/base/url_request_context.h View 1 chunk +0 lines, -63 lines 0 comments Download
D remoting/base/url_request_context.cc View 1 chunk +0 lines, -143 lines 0 comments Download
A + remoting/base/url_request_context_getter.h View 3 chunks +3 lines, -19 lines 0 comments Download
A + remoting/base/url_request_context_getter.cc View 3 chunks +7 lines, -52 lines 0 comments Download
M remoting/client/jni/chromoting_jni_runtime.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/chromoting_host_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/daemon_process.cc View 1 chunk +0 lines, -1 line 0 comments Download
M remoting/host/setup/host_starter.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M remoting/host/setup/host_starter.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/setup/me2me_native_messaging_host_main.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/setup/oauth_client.h View 1 chunk +6 lines, -1 line 0 comments Download
M remoting/host/setup/oauth_client.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/setup/start_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M remoting/ios/bridge/client_instance.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting_nacl.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
mmenke
This is pretty analogous to the CL where we switched Cronet to using URLRequestContextBuilder. This ...
6 years, 6 months ago (2014-06-25 18:56:47 UTC) #1
darin (slow to review)
src/mojo/ changes LGTM ... actually they look fantastically awesome to me ;-)
6 years, 6 months ago (2014-06-25 18:58:29 UTC) #2
mmenke
Misha: Ping! Like I said, there's no rush on this, but I'd like to get ...
6 years, 5 months ago (2014-06-30 20:39:51 UTC) #3
mef
sorry for the delay, I totally forgot. :-( https://codereview.chromium.org/354693004/diff/140001/chrome/service/net/service_url_request_context_getter.cc File chrome/service/net/service_url_request_context_getter.cc (left): https://codereview.chromium.org/354693004/diff/140001/chrome/service/net/service_url_request_context_getter.cc#oldcode139 chrome/service/net/service_url_request_context_getter.cc:139: storage_.set_cookie_store(new ...
6 years, 5 months ago (2014-06-30 21:42:59 UTC) #4
mmenke
Thanks for the feedback! https://codereview.chromium.org/354693004/diff/140001/chrome/service/net/service_url_request_context_getter.cc File chrome/service/net/service_url_request_context_getter.cc (left): https://codereview.chromium.org/354693004/diff/140001/chrome/service/net/service_url_request_context_getter.cc#oldcode139 chrome/service/net/service_url_request_context_getter.cc:139: storage_.set_cookie_store(new net::CookieMonster(NULL, NULL)); On 2014/06/30 ...
6 years, 5 months ago (2014-06-30 21:55:25 UTC) #5
mef
lgtm https://codereview.chromium.org/354693004/diff/160001/chrome/service/net/service_url_request_context_getter.cc File chrome/service/net/service_url_request_context_getter.cc (right): https://codereview.chromium.org/354693004/diff/160001/chrome/service/net/service_url_request_context_getter.cc#newcode79 chrome/service/net/service_url_request_context_getter.cc:79: // Returns the default user agent. nit/q: Is ...
6 years, 5 months ago (2014-07-01 12:08:09 UTC) #6
mmenke
https://codereview.chromium.org/354693004/diff/160001/chrome/service/net/service_url_request_context_getter.cc File chrome/service/net/service_url_request_context_getter.cc (right): https://codereview.chromium.org/354693004/diff/160001/chrome/service/net/service_url_request_context_getter.cc#newcode79 chrome/service/net/service_url_request_context_getter.cc:79: // Returns the default user agent. On 2014/07/01 12:08:08, ...
6 years, 5 months ago (2014-07-01 14:32:57 UTC) #7
mmenke
[+sergeyu]: Please review remoting/. [+ajwong]: Please review chrome/service/. Note that on Linux/Android, the builder doesn't ...
6 years, 5 months ago (2014-07-01 14:40:24 UTC) #8
Sergey Ulanov
remoting - lgtm
6 years, 5 months ago (2014-07-03 07:01:28 UTC) #9
mmenke
[+ajwong (For real, this time)]: Please review chrome/service/.
6 years, 5 months ago (2014-07-07 21:14:20 UTC) #10
awong
chrome/service LGTM
6 years, 5 months ago (2014-07-07 21:20:04 UTC) #11
mmenke
The CQ bit was checked by mmenke@chromium.org
6 years, 5 months ago (2014-07-07 21:22:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/354693004/160001
6 years, 5 months ago (2014-07-07 21:23:20 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-07 21:51:22 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-07 21:54:02 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/167913) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/157021) mac_gpu ...
6 years, 5 months ago (2014-07-07 21:54:03 UTC) #16
mmenke
The CQ bit was checked by mmenke@chromium.org
6 years, 5 months ago (2014-07-07 23:35:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/354693004/200001
6 years, 5 months ago (2014-07-07 23:36:13 UTC) #18
mmenke
Failures were just due to a merge conflict with a moved header file.
6 years, 5 months ago (2014-07-07 23:39:12 UTC) #19
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 02:33:57 UTC) #20
Message was sent while issue was closed.
Change committed as 281638

Powered by Google App Engine
This is Rietveld 408576698