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

Issue 2600943002: Cleanup the preconnect to proxy code and Job controller code (Closed)

Created:
3 years, 12 months ago by tbansal1
Modified:
3 years, 11 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup the preconnect to proxy code and Job controller code (1) Add a boolean |restrict_to_one_preconnect_for_proxies| to network session params. This allows us to run multiple experiments using a single field trial. Next CL will add the variation param |race_preconnects_to_proxies| to experiment with racing the alternative and main jobs for proxy preconnects. (2) Remove an extra parameter in HttpStreamFactoryImpl::Job::Delegate::OnStreamReady() method. BUG=667471, 671291 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Committed: https://crrev.com/7450edf914e2fedef46171ec5741d17b127df0f0 Cr-Commit-Position: refs/heads/master@{#440893}

Patch Set 1 : ps #

Patch Set 2 : Fix typo #

Total comments: 2

Patch Set 3 : rch comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -55 lines) Patch
M components/network_session_configurator/network_session_configurator.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download
M net/http/http_network_session.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl.h View 1 chunk +0 lines, -4 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 3 chunks +2 lines, -13 lines 0 comments Download
M net/http/http_stream_factory_impl_job.h View 1 chunk +1 line, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl_job_controller.h View 1 chunk +1 line, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller_unittest.cc View 6 chunks +6 lines, -12 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 4 chunks +4 lines, -12 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (27 generated)
tbansal1
rch: ptal. Thanks.
3 years, 12 months ago (2016-12-27 19:07:06 UTC) #14
Ryan Hamilton
nice cleanup! https://codereview.chromium.org/2600943002/diff/40001/net/http/http_network_session.h File net/http/http_network_session.h (right): https://codereview.chromium.org/2600943002/diff/40001/net/http/http_network_session.h#newcode200 net/http/http_network_session.h:200: bool restrict_to_one_preconnect_for_proxies; Does this need to be ...
3 years, 11 months ago (2016-12-28 18:44:38 UTC) #21
tbansal1
rch: ptal. thanks. https://codereview.chromium.org/2600943002/diff/40001/net/http/http_network_session.h File net/http/http_network_session.h (right): https://codereview.chromium.org/2600943002/diff/40001/net/http/http_network_session.h#newcode200 net/http/http_network_session.h:200: bool restrict_to_one_preconnect_for_proxies; On 2016/12/28 18:44:38, Ryan ...
3 years, 11 months ago (2016-12-28 20:15:06 UTC) #24
Ryan Hamilton
lgtm
3 years, 11 months ago (2016-12-28 21:02:48 UTC) #25
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/2600943002/60001
3 years, 11 months ago (2016-12-28 21:08:44 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:60001)
3 years, 11 months ago (2016-12-28 21:13:23 UTC) #32
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:50:20 UTC) #34
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7450edf914e2fedef46171ec5741d17b127df0f0
Cr-Commit-Position: refs/heads/master@{#440893}

Powered by Google App Engine
This is Rietveld 408576698