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

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed)

Created:
5 years, 4 months ago by Randy Smith (Not in Mondays)
Modified:
5 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, zea+watch_chromium.org, chromoting-reviews_chromium.org, yzshen+watch_chromium.org, ben+mojo_chromium.org, tim+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, viettrungluu+watch_chromium.org, jam, abarth-chromium, pvalenzuela+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, mlamouri+watch-content_chromium.org, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org, maxbogue+watch_chromium.org, Aaron Boodman, plaree+watch_chromium.org, Paweł Hajdan Jr., darin (slow to review), Charlie Harrison
Base URL:
https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Shift URLRequestContextStorage over to taking scoped_ptrs. Also includes converting several sources of scoped_ptrs for URLRequestContextStorage, including the ProxyService static generators and the ShellURLRequestContextGetter protected methods to be used by subclasses. BUG=521705 Committed: https://crrev.com/82957ade8b7a9686c50688ab8caab3a19dcd80b1 Cr-Commit-Position: refs/heads/master@{#349194}

Patch Set 1 #

Patch Set 2 : Results of my self-review. #

Patch Set 3 : Fix problems in remoting directory. #

Patch Set 4 : Fixed compile errors on non-nacl and ios platforms. #

Patch Set 5 : More compilation fixes. #

Patch Set 6 : Data reduction proxy compile fix. #

Patch Set 7 : Chromecast and IOS compile fixes. #

Patch Set 8 : Lots of fixes driven by try jobs. #

Total comments: 24

Patch Set 9 : Incorporated comments. #

Patch Set 10 : Sync'd to p347022. #

Total comments: 2

Patch Set 11 : Fixed Android compilation problem. #

Patch Set 12 : Incorporated comments. #

Patch Set 13 : Sync'd to revision p347709. #

Total comments: 3

Patch Set 14 : Whoops, extra comment not incorporated. #

Patch Set 15 : Sync'd to revision p349162. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+453 lines, -425 lines) Patch
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/platform_keys/verify_trust_api.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/net/predictor_unittest.cc View 6 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/net/proxy_service_factory.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/net/proxy_service_factory.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -8 lines 0 comments Download
M chromecast/browser/url_request_context_factory.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/pepper/ssl_context_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_url_request_context_getter.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -4 lines 0 comments Download
M content/shell/browser/shell_url_request_context_getter.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/shell/browser/shell_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 6 chunks +21 lines, -18 lines 0 comments Download
M device/test/usb_test_gadget_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_url_request_context_getter.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M google_apis/gcm/tools/mcs_probe.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ios/crnet/crnet_environment.mm View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -3 lines 0 comments Download
M ios/web/shell/shell_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 5 chunks +13 lines, -9 lines 0 comments Download
M mojo/services/network/network_context.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M net/cert/cert_verifier.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M net/cert/cert_verifier.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M net/cert_net/cert_net_fetcher_impl_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -6 lines 0 comments Download
M net/http/http_auth_handler_factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_auth_handler_factory.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M net/http/http_network_layer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_ssl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 55 chunks +79 lines, -97 lines 0 comments Download
M net/http/http_stream_factory_impl_request_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -4 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -6 lines 0 comments Download
M net/proxy/proxy_service.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -7 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -16 lines 0 comments Download
M net/proxy/proxy_service_mojo.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M net/proxy/proxy_service_mojo.cc View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -4 lines 0 comments Download
M net/proxy/proxy_service_mojo_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M net/proxy/proxy_service_v8.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/proxy_service_v8.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -3 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -6 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_chromium.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +12 lines, -9 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 9 chunks +29 lines, -29 lines 0 comments Download
M net/spdy/spdy_test_util_common.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -10 lines 0 comments Download
M net/tools/quic/quic_client_bin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_client_bin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_fetcher_impl_unittest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 5 6 7 8 9 7 chunks +31 lines, -25 lines 0 comments Download
M net/url_request/url_request_context_storage.h View 1 chunk +13 lines, -11 lines 0 comments Download
M net/url_request/url_request_context_storage.cc View 5 chunks +35 lines, -33 lines 0 comments Download
M net/url_request/url_request_ftp_job_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +15 lines, -14 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 3 4 5 6 7 8 9 4 chunks +14 lines, -12 lines 0 comments Download
M net/websockets/websocket_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/token_validator_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/signaling/xmpp_signal_strategy.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sync/tools/sync_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M sync/tools/sync_listen_notifications.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 42 (11 generated)
Randy Smith (Not in Mondays)
Paul, PTAL? I figured that since you had done this for URLRequestContextBuilder you were a ...
5 years, 4 months ago (2015-08-23 22:23:08 UTC) #2
pauljensen
On 2015/08/23 22:23:08, rdsmith wrote: > Paul, PTAL? I figured that since you had done ...
5 years, 4 months ago (2015-08-24 00:17:07 UTC) #3
pauljensen
https://codereview.chromium.org/1290243007/diff/140001/chrome/browser/net/proxy_service_factory.h File chrome/browser/net/proxy_service_factory.h (right): https://codereview.chromium.org/1290243007/diff/140001/chrome/browser/net/proxy_service_factory.h#newcode52 chrome/browser/net/proxy_service_factory.h:52: net::ProxyConfigService* proxy_config_service, This should be a scoped_ptr...dunno if you ...
5 years, 3 months ago (2015-08-28 13:38:03 UTC) #4
mmenke
Just a heads up that I'm removing reference counting from HttpNetworkSession. This CL will probably ...
5 years, 3 months ago (2015-08-28 19:36:46 UTC) #5
Randy Smith (Not in Mondays)
Paul, comments incorporated; PTAL? https://codereview.chromium.org/1290243007/diff/140001/chrome/browser/net/proxy_service_factory.h File chrome/browser/net/proxy_service_factory.h (right): https://codereview.chromium.org/1290243007/diff/140001/chrome/browser/net/proxy_service_factory.h#newcode52 chrome/browser/net/proxy_service_factory.h:52: net::ProxyConfigService* proxy_config_service, On 2015/08/28 13:38:02, ...
5 years, 3 months ago (2015-09-02 23:42:20 UTC) #6
Deprecated (see juliatuttle)
lgtm with one question: https://codereview.chromium.org/1290243007/diff/140001/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc (right): https://codereview.chromium.org/1290243007/diff/140001/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc#newcode530 components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc:530: io_data() Is this what git ...
5 years, 3 months ago (2015-09-08 15:39:43 UTC) #8
Randy Smith (Not in Mondays)
Thanks Thomas! Time for OWNERS stamps; could the following people PTAL? bengr@: components/data_reduction_proxy davidben@: content/ ...
5 years, 3 months ago (2015-09-08 16:33:17 UTC) #10
Torne
android_webview lgtm
5 years, 3 months ago (2015-09-08 16:34:36 UTC) #11
Ken Rockot(use gerrit already)
On 2015/09/08 16:33:17, rdsmith wrote: > Thanks Thomas! > > Time for OWNERS stamps; could ...
5 years, 3 months ago (2015-09-08 16:35:22 UTC) #12
James Cook
extensions/shell LGTM
5 years, 3 months ago (2015-09-08 16:36:44 UTC) #13
halliwell
On 2015/09/08 16:35:22, Ken Rockot wrote: > On 2015/09/08 16:33:17, rdsmith wrote: > > Thanks ...
5 years, 3 months ago (2015-09-08 16:37:38 UTC) #14
ncarter (slow)
sync/ and content/ lgtm
5 years, 3 months ago (2015-09-08 16:43:58 UTC) #15
davidben
content lgtm, though it seems nick also covers it. https://codereview.chromium.org/1290243007/diff/240001/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc File content/shell/browser/layout_test/layout_test_url_request_context_getter.cc (right): https://codereview.chromium.org/1290243007/diff/240001/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc#newcode45 content/shell/browser/layout_test/layout_test_url_request_context_getter.cc:45: ...
5 years, 3 months ago (2015-09-08 17:02:45 UTC) #16
Elly Fong-Jones
ios/crnet lgtm
5 years, 3 months ago (2015-09-08 17:03:40 UTC) #17
stuartmorgan
ios/web lgtm
5 years, 3 months ago (2015-09-08 17:32:36 UTC) #18
Ryan Hamilton
chrome/browser/io_thread.cc: LGTM
5 years, 3 months ago (2015-09-08 17:56:14 UTC) #19
bengr
data_reduction_proxy LGTM
5 years, 3 months ago (2015-09-08 18:22:31 UTC) #20
sky
mojo LGTM
5 years, 3 months ago (2015-09-08 20:59:36 UTC) #21
Randy Smith (Not in Mondays)
Thanks all who responded! Moving on to new reviewers due to lack of response: kmarshall@: ...
5 years, 3 months ago (2015-09-09 16:03:46 UTC) #23
Jamie
remoting/ LGTM
5 years, 3 months ago (2015-09-09 17:14:11 UTC) #24
Kevin M
lgtm cast_channel lgtm
5 years, 3 months ago (2015-09-09 17:21:02 UTC) #25
Randy Smith (Not in Mondays)
Thanks very much! One last review: Roger, could you take a look google_apis/*?
5 years, 3 months ago (2015-09-10 17:05:21 UTC) #27
Nicolas Zea
mcs_probe LGTM
5 years, 3 months ago (2015-09-14 17:40:49 UTC) #29
Roger Tawa OOO till Jul 10th
lgtm google_apis Sorry for delay.
5 years, 3 months ago (2015-09-14 17:42:43 UTC) #30
Randy Smith (Not in Mondays)
Thanks very much!
5 years, 3 months ago (2015-09-14 17:51:42 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1290243007/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1290243007/240001
5 years, 3 months ago (2015-09-14 17:53:02 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/97451) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-14 17:58:04 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1290243007/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1290243007/280001
5 years, 3 months ago (2015-09-16 18:59:11 UTC) #39
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 3 months ago (2015-09-16 19:42:16 UTC) #40
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/82957ade8b7a9686c50688ab8caab3a19dcd80b1 Cr-Commit-Position: refs/heads/master@{#349194}
5 years, 3 months ago (2015-09-16 19:43:02 UTC) #41
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:59:30 UTC) #42
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/82957ade8b7a9686c50688ab8caab3a19dcd80b1
Cr-Commit-Position: refs/heads/master@{#349194}

Powered by Google App Engine
This is Rietveld 408576698