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

Issue 2899313006: Plumb NQP to context and to http_proxy_client_socket_pool (Closed)

Created:
3 years, 7 months ago by tbansal1
Modified:
3 years, 6 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumb NQP to context and to http_proxy_client_socket_pool Also, refactor http_proxy_client_socket_pool.cc so that proxy connection timeout is determined by a separate method. The next CL would use Network Quality Provider (NQP) to determine the proxy connection timeout in http_proxy_client_socket_pool. BUG=704339 Review-Url: https://codereview.chromium.org/2899313006 Cr-Commit-Position: refs/heads/master@{#478159} Committed: https://chromium.googlesource.com/chromium/src/+/16196a1e96e34678cbccaf3d0c0bea0dd2b4fb42

Patch Set 1 : ps #

Total comments: 8

Patch Set 2 : Rebased #

Total comments: 17

Patch Set 3 : mmenke comments #

Total comments: 3

Patch Set 4 : mmenke comments #

Patch Set 5 : Use the macro for silencing unused variable warning #

Patch Set 6 : fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -40 lines) Patch
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_session.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.h View 1 2 4 chunks +4 lines, -1 line 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 1 2 3 4 5 6 chunks +43 lines, -33 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 4 chunks +16 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/socket/client_socket_pool_manager_impl.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool_manager_impl.cc View 1 3 chunks +4 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (70 generated)
tbansal1
mmenke: ptal. Thanks.
3 years, 6 months ago (2017-06-05 19:42:32 UTC) #28
mmenke
Quick cursory comments. I'll plan to take a closer look tomorrow. https://codereview.chromium.org/2899313006/diff/80001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): ...
3 years, 6 months ago (2017-06-05 20:04:26 UTC) #29
tbansal1
mmenke: ptal at *. I have rebased to the other network quality provider interface CL. ...
3 years, 6 months ago (2017-06-07 18:13:44 UTC) #35
mmenke
https://codereview.chromium.org/2899313006/diff/100001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2899313006/diff/100001/chrome/browser/profiles/profile_io_data.cc#newcode1315 chrome/browser/profiles/profile_io_data.cc:1315: DCHECK(io_thread->globals()->network_quality_estimator); Does this DCHECK get us anything? https://codereview.chromium.org/2899313006/diff/100001/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc File ...
3 years, 6 months ago (2017-06-07 21:31:26 UTC) #38
tbansal1
mmenke: ptal. Thanks. https://codereview.chromium.org/2899313006/diff/100001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2899313006/diff/100001/chrome/browser/profiles/profile_io_data.cc#newcode1315 chrome/browser/profiles/profile_io_data.cc:1315: DCHECK(io_thread->globals()->network_quality_estimator); On 2017/06/07 21:31:25, mmenke wrote: ...
3 years, 6 months ago (2017-06-08 05:01:50 UTC) #54
mmenke
LGTM https://codereview.chromium.org/2899313006/diff/100001/net/http/http_proxy_client_socket_pool_unittest.cc File net/http/http_proxy_client_socket_pool_unittest.cc (right): https://codereview.chromium.org/2899313006/diff/100001/net/http/http_proxy_client_socket_pool_unittest.cc#newcode729 net/http/http_proxy_client_socket_pool_unittest.cc:729: TEST_P(HttpProxyClientSocketPoolTest, ProxyPoolTimeout) { On 2017/06/08 05:01:50, tbansal1 wrote: ...
3 years, 6 months ago (2017-06-08 17:53:02 UTC) #55
tbansal1
https://codereview.chromium.org/2899313006/diff/200001/net/http/http_proxy_client_socket_pool.cc File net/http/http_proxy_client_socket_pool.cc (right): https://codereview.chromium.org/2899313006/diff/200001/net/http/http_proxy_client_socket_pool.cc#newcode201 net/http/http_proxy_client_socket_pool.cc:201: // Silence unused variable warning. On 2017/06/08 17:53:02, mmenke ...
3 years, 6 months ago (2017-06-08 19:59:14 UTC) #56
mmenke
Still LGTM, but there's a macro for the void trick. https://codereview.chromium.org/2899313006/diff/200001/net/http/http_proxy_client_socket_pool.cc File net/http/http_proxy_client_socket_pool.cc (right): https://codereview.chromium.org/2899313006/diff/200001/net/http/http_proxy_client_socket_pool.cc#newcode201 ...
3 years, 6 months ago (2017-06-08 20:02:10 UTC) #61
tbansal1
On 2017/06/08 20:02:10, mmenke wrote: > Still LGTM, but there's a macro for the void ...
3 years, 6 months ago (2017-06-08 20:12:26 UTC) #63
mmenke
On 2017/06/08 20:12:26, tbansal1 wrote: > On 2017/06/08 20:02:10, mmenke wrote: > > Still LGTM, ...
3 years, 6 months ago (2017-06-08 20:16:30 UTC) #66
tbansal1
On 2017/06/08 20:16:30, mmenke wrote: > On 2017/06/08 20:12:26, tbansal1 wrote: > > On 2017/06/08 ...
3 years, 6 months ago (2017-06-08 20:17:53 UTC) #67
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/2899313006/280001
3 years, 6 months ago (2017-06-09 01:44:31 UTC) #80
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 01:50:37 UTC) #83
Message was sent while issue was closed.
Committed patchset #6 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/16196a1e96e34678cbccaf3d0c0b...

Powered by Google App Engine
This is Rietveld 408576698