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

Issue 2334623003: Store net::ProxyServer in HttpResponseInfo object (Closed)

Created:
4 years, 3 months ago by tbansal1
Modified:
4 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, jam, Randy Smith (Not in Mondays), darin-cc_chromium.org, Paweł Hajdan Jr., loading-reviews_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store net::ProxyServer in HttpResponseInfo object. Store net::ProxyServer in HttpResponseInfo instead of net::HostPortPair. This makes it possible for the net consumers to determine the proxy scheme used for a given request (e.g., QUIC vs. HTTPS) BUG=646197 Committed: https://crrev.com/2ecbbc7334d7debb8ae7c0b4504920c3f222d2b6 Cr-Commit-Position: refs/heads/master@{#423567}

Patch Set 1 : PS #

Total comments: 6

Patch Set 2 : Rebased, Set proxy server to DIRECT if response was fetched directly #

Patch Set 3 : Rebased #

Total comments: 6

Patch Set 4 : Rebased, addressed eroman comments #

Total comments: 4

Patch Set 5 : mmenke comments #

Patch Set 6 : Rebased, fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -131 lines) Patch
M components/cronet/android/cronet_url_request_adapter.cc View 1 2 3 4 5 4 chunks +11 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc View 2 chunks +12 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc View 1 2 3 4 chunks +9 lines, -10 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h View 2 chunks +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 4 chunks +33 lines, -47 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc View 1 2 4 chunks +4 lines, -7 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 16 chunks +22 lines, -9 lines 0 comments Download
M net/http/http_response_info.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M net/quic/chromium/quic_network_transaction_unittest.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M net/url_request/url_request.h View 1 2 3 3 chunks +3 lines, -4 lines 0 comments Download
M net/url_request/url_request.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_ftp_job_unittest.cc View 1 2 4 chunks +10 lines, -6 lines 0 comments Download
M net/url_request/url_request_job.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/url_request/url_request_job.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 10 chunks +23 lines, -9 lines 0 comments Download

Messages

Total messages: 99 (76 generated)
tbansal1
ryansturm, kundaji: ptal at *. Thanks!!
4 years, 3 months ago (2016-09-13 01:12:53 UTC) #32
RyanSturm
lgtm
4 years, 3 months ago (2016-09-13 23:46:33 UTC) #34
tbansal1
kundaji: ptal at d_r_p or everything. eroman:ptat at //net. Thanks.
4 years, 3 months ago (2016-09-14 15:37:48 UTC) #36
Not at Google. Contact bengr
Looks good overall. Only concern is the use of the defensive checks for is_valid and ...
4 years, 3 months ago (2016-09-14 21:54:09 UTC) #37
tbansal1
https://codereview.chromium.org/2334623003/diff/120001/components/cronet/android/cronet_url_request_adapter.cc File components/cronet/android/cronet_url_request_adapter.cc (right): https://codereview.chromium.org/2334623003/diff/120001/components/cronet/android/cronet_url_request_adapter.cc#newcode207 components/cronet/android/cronet_url_request_adapter.cc:207: : request->response_info().proxy_server.host_port_pair(); On 2016/09/14 21:54:09, kundaji wrote: > Is ...
4 years, 3 months ago (2016-09-14 22:04:17 UTC) #38
Not at Google. Contact bengr
lgtm
4 years, 3 months ago (2016-09-14 22:25:41 UTC) #39
tbansal1
eroman: ptal. thanks.
4 years, 3 months ago (2016-09-15 00:19:40 UTC) #45
tbansal1
mmenke: ptal at components/cronet/* and content/* (//net optional). Thanks.
4 years, 3 months ago (2016-09-16 16:46:49 UTC) #49
tbansal1
mmenke: ptal at components/cronet/* and content/* (//net optional). Thanks.
4 years, 3 months ago (2016-09-16 16:46:51 UTC) #50
eroman
Some high-level comments before going into a detailed review: * Changing HttpResponseInfo::proxy_server to be of ...
4 years, 3 months ago (2016-09-16 22:52:43 UTC) #51
tbansal1
On 2016/09/16 22:52:43, eroman wrote: > Some high-level comments before going into a detailed review: ...
4 years, 3 months ago (2016-09-16 23:11:20 UTC) #52
eroman
On Fri, Sep 16, 2016 at 4:11 PM, <tbansal@chromium.org> wrote: > On 2016/09/16 22:52:43, eroman ...
4 years, 3 months ago (2016-09-16 23:27:38 UTC) #53
tbansal1
On 2016/09/16 23:27:38, eroman wrote: > On Fri, Sep 16, 2016 at 4:11 PM, <mailto:tbansal@chromium.org> ...
4 years, 3 months ago (2016-09-21 18:12:56 UTC) #54
tbansal1
ping.
4 years, 2 months ago (2016-09-23 17:37:11 UTC) #55
tbansal1
eroman: ping. Can you ptal. I need to land this CL so I can add ...
4 years, 2 months ago (2016-10-03 16:29:33 UTC) #63
eroman
LGTM (sorry, wasn't doing code reviews last week) There are some followups I would like ...
4 years, 2 months ago (2016-10-05 01:45:12 UTC) #66
tbansal1
mmenke: ptal at components/cronet/. Thanks. https://codereview.chromium.org/2334623003/diff/240001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://codereview.chromium.org/2334623003/diff/240001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode356 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:356: auto proxy_it = std::find_if( ...
4 years, 2 months ago (2016-10-06 14:35:09 UTC) #77
mmenke
Was waiting for eroman to sign off before reviewing, but then missed it when he ...
4 years, 2 months ago (2016-10-06 14:58:04 UTC) #78
tbansal1
mmenke: ptal. thanks.
4 years, 2 months ago (2016-10-06 15:36:26 UTC) #82
mmenke
LGTM!
4 years, 2 months ago (2016-10-06 15:38:45 UTC) #85
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/2334623003/390001
4 years, 2 months ago (2016-10-06 16:58:38 UTC) #95
commit-bot: I haz the power
Committed patchset #6 (id:390001)
4 years, 2 months ago (2016-10-06 17:16:09 UTC) #97
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 17:18:34 UTC) #99
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2ecbbc7334d7debb8ae7c0b4504920c3f222d2b6
Cr-Commit-Position: refs/heads/master@{#423567}

Powered by Google App Engine
This is Rietveld 408576698