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

Issue 2907463002: Split HttpNetworkSession::Params into two structs. (Closed)

Created:
3 years, 7 months ago by mmenke
Modified:
3 years, 6 months ago
CC:
alokp+watch_chromium.org, bnc+watch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, halliwell+watch_chromium.org, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, johnme+watch_chromium.org, lcwu+watch_chromium.org, marq+watch_chromium.org, net-reviews_chromium.org, noyau+watch_chromium.org, Peter Beverloo, pkl (ping after 24h if needed), tbansal+watch-nqe_chromium.org, zea+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Split HttpNetworkSession::Params into two structs. Context contains the raw pointers to unowned objects, while Params contains the inline declared objects, so it's safely copiable. The goal is to replace URLRequestContextBuilder::HttpNetworkSessionParams with HttpNetworkSession::Params, as the former is a subset of the latter, and needs to grow to encompass most of them, anyways, before we can use URLRequestContextBuilder to build the main URLRequestContexts. BUG=725653, 715695 Review-Url: https://codereview.chromium.org/2907463002 Cr-Commit-Position: refs/heads/master@{#476044} Committed: https://chromium.googlesource.com/chromium/src/+/6ddfbead4aad126ef4fef58346ef11ff94a7d2e7

Patch Set 1 #

Patch Set 2 : Fix safebrowsing #

Patch Set 3 : Merge #

Patch Set 4 : Fixes #

Patch Set 5 : Fixes #

Patch Set 6 : Fixes #

Patch Set 7 : More fixes... #

Patch Set 8 : Merge #

Patch Set 9 : Merge #

Patch Set 10 : Fix #

Total comments: 2

Patch Set 11 : Merge (Only iOS conflicts) #

Patch Set 12 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+744 lines, -591 lines) Patch
M chrome/browser/io_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_browsertest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M chromecast/browser/url_request_context_factory.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chromecast/browser/url_request_context_factory.cc View 1 2 3 2 chunks +26 lines, -21 lines 0 comments Download
M components/gcm_driver/gcm_client_impl.cc View 1 chunk +5 lines, -1 line 0 comments Download
M components/safe_browsing/browser/safe_browsing_url_request_context_getter.cc View 1 2 1 chunk +9 lines, -4 lines 0 comments Download
M content/shell/browser/shell_url_request_context_getter.cc View 1 2 3 4 5 2 chunks +16 lines, -14 lines 0 comments Download
M google_apis/gcm/tools/mcs_probe.cc View 1 chunk +16 lines, -12 lines 0 comments Download
M ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.mm View 1 chunk +5 lines, -4 lines 0 comments Download
M ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M ios/components/io_thread/ios_io_thread.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
M ios/crnet/crnet_environment.mm View 1 2 3 4 5 1 chunk +23 lines, -18 lines 0 comments Download
M ios/web/shell/shell_url_request_context_getter.mm View 1 2 3 4 2 chunks +14 lines, -13 lines 0 comments Download
M ios/web_view/internal/web_view_url_request_context_getter.mm View 1 2 3 4 5 6 2 chunks +14 lines, -13 lines 0 comments Download
M jingle/glue/proxy_resolving_client_socket.cc View 2 chunks +19 lines, -14 lines 0 comments Download
M net/cert_net/cert_net_fetcher_impl_unittest.cc View 1 chunk +11 lines, -11 lines 0 comments Download
M net/http/bidirectional_stream_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M net/http/http_network_layer_unittest.cc View 1 chunk +12 lines, -11 lines 0 comments Download
M net/http/http_network_session.h View 6 chunks +37 lines, -21 lines 0 comments Download
M net/http/http_network_session.cc View 8 chunks +67 lines, -59 lines 0 comments Download
M net/http/http_network_transaction.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_network_transaction_ssl_unittest.cc View 7 chunks +18 lines, -18 lines 0 comments Download
M net/http/http_response_body_drainer_unittest.cc View 1 chunk +9 lines, -9 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller.cc View 1 2 2 chunks +2 lines, -2 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 chunks +89 lines, -64 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +11 lines, -11 lines 0 comments Download
M net/quic/chromium/quic_end_to_end_unittest.cc View 5 chunks +27 lines, -20 lines 0 comments Download
M net/quic/chromium/quic_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 34 chunks +86 lines, -78 lines 0 comments Download
M net/socket/client_socket_pool_manager.cc View 1 chunk +5 lines, -10 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 chunk +14 lines, -12 lines 0 comments Download
M net/spdy/chromium/spdy_test_util_common.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/spdy/chromium/spdy_test_util_common.cc View 4 chunks +42 lines, -31 lines 0 comments Download
M net/url_request/url_request_context.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/url_request/url_request_context.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 chunk +5 lines, -5 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 5 6 7 2 chunks +23 lines, -18 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M net/url_request/url_request_quic_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/url_request/url_request_test_util.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -5 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 3 4 5 6 7 1 chunk +20 lines, -17 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 1 chunk +14 lines, -11 lines 0 comments Download

Messages

Total messages: 69 (53 generated)
mmenke
Had planned to bulk up URLRequestContextBuilder::HttpNetworksessionParams, but it started just getting silly. Instead, this CL ...
3 years, 7 months ago (2017-05-26 16:31:03 UTC) #30
mmenke
Expect tryjobs to fail here - I've merged this 3 times to keep up with ...
3 years, 6 months ago (2017-05-30 18:16:39 UTC) #39
Randy Smith (Not in Mondays)
LGTM modulo your evaluation of the one point below. (Such a large amount of reading ...
3 years, 6 months ago (2017-05-31 18:09:40 UTC) #44
Randy Smith (Not in Mondays)
Actually, one other request: Could you update the CL description so it's clear that "A ...
3 years, 6 months ago (2017-05-31 18:15:05 UTC) #45
mmenke
Thanks so much for the review! Know it can't have been fun. https://codereview.chromium.org/2907463002/diff/190001/net/http/http_stream_factory_impl_unittest.cc File net/http/http_stream_factory_impl_unittest.cc ...
3 years, 6 months ago (2017-05-31 18:57:19 UTC) #47
mmenke
[+halliwell]: Please review chromecast/ [+zea]: Please review components/gcm_driver/, google_apis/gcm/tools/, and jingle/glue/ [+mattm]: Please review components/safe_browsing/ ...
3 years, 6 months ago (2017-05-31 19:06:39 UTC) #51
halliwell
On 2017/05/31 19:06:39, mmenke wrote: > [+halliwell]: Please review chromecast/ > [+zea]: Please review components/gcm_driver/, ...
3 years, 6 months ago (2017-05-31 19:08:46 UTC) #52
mattm
safe_browsing lgtm
3 years, 6 months ago (2017-05-31 19:30:37 UTC) #53
rohitrao (ping after 24h)
ios/ lgtm
3 years, 6 months ago (2017-05-31 19:39:48 UTC) #54
Mike West
//content/shell LGTM
3 years, 6 months ago (2017-05-31 19:55:28 UTC) #55
Nicolas Zea
gcm lgtm
3 years, 6 months ago (2017-05-31 19:56:29 UTC) #56
Nicolas Zea
Oops, forgot to say jingle also lgtm
3 years, 6 months ago (2017-05-31 19:57:15 UTC) #57
mmenke
On 2017/05/31 19:57:15, Nicolas Zea wrote: > Oops, forgot to say jingle also lgtm Thanks ...
3 years, 6 months ago (2017-05-31 19:59:01 UTC) #58
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/2907463002/230001
3 years, 6 months ago (2017-05-31 20:00:16 UTC) #62
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/2907463002/230001
3 years, 6 months ago (2017-05-31 20:59:56 UTC) #65
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 21:49:12 UTC) #69
Message was sent while issue was closed.
Committed patchset #12 (id:230001) as
https://chromium.googlesource.com/chromium/src/+/6ddfbead4aad126ef4fef58346ef...

Powered by Google App Engine
This is Rietveld 408576698