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

Issue 1862193002: Enable QUIC for proxies only when QUIC is enabled (Closed)

Created:
4 years, 8 months ago by tbansal1
Modified:
4 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable QUIC for proxies only when QUIC is enabled 1. Remove |enable_quic_for_proxies| from HttpNetworkSession::Params. Instead, use |enable_quic|. This change brings QUIC proxy code closer to the global QUIC code. 2. Do not plumb |enable_quic| down to Data Reduction Proxy (DRP) IO Data. Instead, DRP reads |enable_quic| from HttpNetworkSession::Params directly. 3. Chrome will use QUIC to connect to DRP if QUIC is enabled globally and Chrome is in DRP QUIC field trial. With this change DRP will use a QUIC proxy only when it is initialized using client config service (and not statically configured proxies). BUG=609177 Committed: https://crrev.com/9bf2667a46fd3ba3f7c4f4c69d2217ca68959a45 Cr-Commit-Position: refs/heads/master@{#393002}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Addressed sclittle comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -338 lines) Patch
M android_webview/browser/aw_browser_context.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/io_thread.h View 3 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/io_thread.cc View 4 chunks +0 lines, -30 lines 3 comments Download
M chrome/browser/io_thread_unittest.cc View 5 chunks +0 lines, -50 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 chunk +1 line, -7 lines 0 comments Download
M components/cronet/android/cronet_data_reduction_proxy.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc View 1 5 chunks +22 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc View 1 16 chunks +126 lines, -89 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc View 1 chunk +0 lines, -61 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 3 chunks +0 lines, -7 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 5 chunks +1 line, -19 lines 0 comments Download
M ios/chrome/browser/ios_chrome_io_thread.h View 3 chunks +0 lines, -9 lines 0 comments Download
M ios/chrome/browser/ios_chrome_io_thread.mm View 3 chunks +0 lines, -13 lines 0 comments Download
M net/http/http_network_session.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/http/http_network_session.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
tbansal1
sclittle: PTAL at components/d_r_p and chrome/browser/net/spdyproxy/. Thanks.
4 years, 7 months ago (2016-05-05 21:38:25 UTC) #15
sclittle
components/d_r_p and chrome/browser/net/spdyproxy/ LGTM % nits https://codereview.chromium.org/1862193002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc (right): https://codereview.chromium.org/1862193002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc#newcode146 components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc:146: url_request_context_getter->GetURLRequestContext() && nit: ...
4 years, 7 months ago (2016-05-10 01:40:24 UTC) #16
tbansal1
I am going to address other comments when I upload the next patch, but wanted ...
4 years, 7 months ago (2016-05-10 01:48:51 UTC) #17
tbansal1
PTAL rch: ios/*, net/*, chrome/browser/io_thread* sgurun: android_webview/browser/aw_browser_context.cc Thanks! https://codereview.chromium.org/1862193002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc (right): https://codereview.chromium.org/1862193002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc#newcode146 components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc:146: url_request_context_getter->GetURLRequestContext() ...
4 years, 7 months ago (2016-05-10 20:16:34 UTC) #20
Ryan Hamilton
https://codereview.chromium.org/1862193002/diff/160001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (left): https://codereview.chromium.org/1862193002/diff/160001/chrome/browser/io_thread.cc#oldcode1368 chrome/browser/io_thread.cc:1368: This means that the only way to enable QUIC ...
4 years, 7 months ago (2016-05-10 21:31:14 UTC) #21
tbansal1
https://codereview.chromium.org/1862193002/diff/160001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (left): https://codereview.chromium.org/1862193002/diff/160001/chrome/browser/io_thread.cc#oldcode1368 chrome/browser/io_thread.cc:1368: On 2016/05/10 21:31:14, Ryan Hamilton wrote: > This means ...
4 years, 7 months ago (2016-05-10 21:43:46 UTC) #22
sgurun-gerrit only
aw lgtm
4 years, 7 months ago (2016-05-10 21:47:12 UTC) #23
Ryan Hamilton
lgtm https://codereview.chromium.org/1862193002/diff/160001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (left): https://codereview.chromium.org/1862193002/diff/160001/chrome/browser/io_thread.cc#oldcode1368 chrome/browser/io_thread.cc:1368: On 2016/05/10 21:43:46, tbansal1 wrote: > On 2016/05/10 ...
4 years, 7 months ago (2016-05-10 22:41:24 UTC) #24
tbansal1
mmenke: PTAL at chrome/browser/profiles/profile_impl_io_data.cc and components/cronet/. Thanks.
4 years, 7 months ago (2016-05-10 22:42:42 UTC) #26
mmenke
On 2016/05/10 22:42:42, tbansal1 wrote: > mmenke: PTAL at chrome/browser/profiles/profile_impl_io_data.cc and > components/cronet/. > > ...
4 years, 7 months ago (2016-05-11 15:04:29 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862193002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862193002/160001
4 years, 7 months ago (2016-05-11 18:27:14 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:160001)
4 years, 7 months ago (2016-05-11 18:32:58 UTC) #34
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 18:34:30 UTC) #36
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9bf2667a46fd3ba3f7c4f4c69d2217ca68959a45
Cr-Commit-Position: refs/heads/master@{#393002}

Powered by Google App Engine
This is Rietveld 408576698