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

Issue 545633002: Don't preresolve DNS if a fixed proxy configuration is in place. (Closed)

Created:
6 years, 3 months ago by bemasc
Modified:
6 years, 2 months ago
Reviewers:
eroman, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, Lucas Dixon
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Don't preresolve DNS if a fixed proxy configuration is in place. This change does not affect the behavior when using a system-configured proxy or a PAC file. BUG=123716 Committed: https://crrev.com/1515a12c29da0477a461204b3e67c8031d68a1be Cr-Commit-Position: refs/heads/master@{#300356}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Use null callback to avoid queueing a PAC request #

Patch Set 3 : Undo no-longer-needed virtual marking #

Total comments: 6

Patch Set 4 : Move synchronous proxy check into a separate function and remove virtual marking #

Total comments: 2

Patch Set 5 : Remote superfluous net:: prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -2 lines) Patch
M chrome/browser/net/predictor.h View 1 4 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/net/predictor.cc View 1 2 3 5 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/net/predictor_unittest.cc View 1 2 3 2 chunks +75 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.h View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 3 chunks +36 lines, -1 line 0 comments Download
M net/proxy/proxy_service_unittest.cc View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (2 generated)
bemasc
PTAL
6 years, 3 months ago (2014-09-05 14:29:46 UTC) #2
mmenke
Eric: Mind taking this one? Almost up to 20 codereviews this week.
6 years, 3 months ago (2014-09-05 14:54:55 UTC) #3
bemasc
On 2014/09/05 14:54:55, mmenke wrote: > Eric: Mind taking this one? Almost up to 20 ...
6 years, 3 months ago (2014-09-09 17:23:26 UTC) #4
eroman
https://codereview.chromium.org/545633002/diff/1/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/545633002/diff/1/chrome/browser/net/predictor.cc#newcode1042 chrome/browser/net/predictor.cc:1042: bool Predictor::WouldDefinitelyProxyURL(const GURL& url) { This title is misleading. ...
6 years, 3 months ago (2014-09-10 01:26:04 UTC) #5
bemasc
Thanks for the comments Eric! I could use a little more detail before continuing with ...
6 years, 3 months ago (2014-09-10 15:19:02 UTC) #6
bemasc
On 2014/09/10 15:19:02, bemasc wrote: > Thanks for the comments Eric! I could use a ...
6 years, 3 months ago (2014-09-10 22:43:06 UTC) #7
bemasc
On 2014/09/10 22:43:06, bemasc wrote: > On 2014/09/10 15:19:02, bemasc wrote: > > Thanks for ...
6 years, 3 months ago (2014-09-17 18:14:21 UTC) #8
eroman
https://codereview.chromium.org/545633002/diff/1/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/545633002/diff/1/chrome/browser/net/predictor.cc#newcode1042 chrome/browser/net/predictor.cc:1042: bool Predictor::WouldDefinitelyProxyURL(const GURL& url) { On 2014/09/10 15:19:02, bemasc ...
6 years, 3 months ago (2014-09-18 17:51:28 UTC) #9
bemasc
PTAL https://codereview.chromium.org/545633002/diff/1/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/545633002/diff/1/chrome/browser/net/predictor.cc#newcode1042 chrome/browser/net/predictor.cc:1042: bool Predictor::WouldDefinitelyProxyURL(const GURL& url) { On 2014/09/18 17:51:28, ...
6 years, 3 months ago (2014-09-19 19:41:37 UTC) #10
bemasc
PTAL. Ready for review.
6 years, 3 months ago (2014-09-23 17:03:39 UTC) #11
eroman
https://codereview.chromium.org/545633002/diff/40001/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/545633002/diff/40001/chrome/browser/net/predictor.cc#newcode1073 chrome/browser/net/predictor.cc:1073: if ((proxy_advisor_ && proxy_advisor_->WouldProxyURL(url)) || What is the role ...
6 years, 3 months ago (2014-09-23 20:50:42 UTC) #12
bemasc
Done. PTAL. https://codereview.chromium.org/545633002/diff/40001/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/545633002/diff/40001/chrome/browser/net/predictor.cc#newcode1073 chrome/browser/net/predictor.cc:1073: if ((proxy_advisor_ && proxy_advisor_->WouldProxyURL(url)) || On 2014/09/23 ...
6 years, 3 months ago (2014-09-24 18:34:37 UTC) #13
bemasc
mmenke@, it looks like eroman@ is on vacation. I'm not sure when he'll be back. ...
6 years, 2 months ago (2014-09-30 15:25:46 UTC) #14
mmenke
On 2014/09/30 15:25:46, bemasc wrote: > mmenke@, it looks like eroman@ is on vacation. I'm ...
6 years, 2 months ago (2014-09-30 15:29:07 UTC) #15
eroman
I'm back!
6 years, 2 months ago (2014-10-10 23:47:55 UTC) #16
eroman
lgtm https://codereview.chromium.org/545633002/diff/60001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/545633002/diff/60001/net/proxy/proxy_service.cc#newcode1064 net/proxy/proxy_service.cc:1064: net_log) == net::OK; nit: no need for "net::" ...
6 years, 2 months ago (2014-10-14 21:16:33 UTC) #17
bemasc
https://codereview.chromium.org/545633002/diff/60001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/545633002/diff/60001/net/proxy/proxy_service.cc#newcode1064 net/proxy/proxy_service.cc:1064: net_log) == net::OK; On 2014/10/14 21:16:33, eroman wrote: > ...
6 years, 2 months ago (2014-10-20 20:49:50 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/545633002/90001
6 years, 2 months ago (2014-10-20 20:52:59 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:90001)
6 years, 2 months ago (2014-10-20 22:30:40 UTC) #21
commit-bot: I haz the power
6 years, 2 months ago (2014-10-20 22:31:06 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1515a12c29da0477a461204b3e67c8031d68a1be
Cr-Commit-Position: refs/heads/master@{#300356}

Powered by Google App Engine
This is Rietveld 408576698