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

Issue 10310179: Track sources of proxy settings. (Closed)

Created:
8 years, 7 months ago by asanka
Modified:
8 years, 1 month ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Track sources of proxy settings. ProxyConfig keeps track of the source of proxy settings. During proxy resolution ProxyService tags the resulting ProxyInfo with the same source information. BUG=none TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141784

Patch Set 1 : #

Total comments: 18

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Rebase only #

Patch Set 4 : Add bits to ProxyInfo for communicating proxy bypass. #

Total comments: 12

Patch Set 5 : Tests + Address comments #

Patch Set 6 : Merge with trunk #

Patch Set 7 : Update copyright #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -35 lines) Patch
M net/net.gyp View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M net/proxy/proxy_config.h View 1 2 3 6 chunks +16 lines, -3 lines 0 comments Download
M net/proxy/proxy_config.cc View 1 2 3 7 chunks +12 lines, -6 lines 0 comments Download
M net/proxy/proxy_config_service_linux.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M net/proxy/proxy_config_service_linux.cc View 1 2 6 chunks +15 lines, -9 lines 0 comments Download
M net/proxy/proxy_config_service_linux_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/proxy/proxy_config_service_mac.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M net/proxy/proxy_config_service_win.cc View 1 3 chunks +3 lines, -1 line 0 comments Download
M net/proxy/proxy_config_service_win_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
A net/proxy/proxy_config_source.h View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A net/proxy/proxy_config_source.cc View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
M net/proxy/proxy_config_unittest.cc View 1 2 3 4 5 6 2 chunks +29 lines, -2 lines 0 comments Download
M net/proxy/proxy_info.h View 1 2 3 4 6 chunks +35 lines, -1 line 0 comments Download
M net/proxy/proxy_info.cc View 1 2 3 4 chunks +27 lines, -5 lines 1 comment Download
A net/proxy/proxy_info_unittest.cc View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
M net/proxy/proxy_list.h View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M net/proxy/proxy_list.cc View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 7 chunks +9 lines, -0 lines 0 comments Download
M net/proxy/proxy_service_unittest.cc View 1 2 3 4 5 4 chunks +82 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
asanka
I broke off the proxy configuration source tracking into a separate CL. There are no ...
8 years, 7 months ago (2012-05-16 23:48:56 UTC) #1
eroman
Just came back from vacation! Trying to catch up, hope to respond by end of ...
8 years, 7 months ago (2012-05-17 19:52:22 UTC) #2
eroman
http://codereview.chromium.org/10310179/diff/5001/net/proxy/proxy_config.h File net/proxy/proxy_config.h (right): http://codereview.chromium.org/10310179/diff/5001/net/proxy/proxy_config.h#newcode13 net/proxy/proxy_config.h:13: #include "net/proxy/proxy_config_source.h" I believe this should be sorted lower. ...
8 years, 7 months ago (2012-05-18 03:58:55 UTC) #3
asanka
http://codereview.chromium.org/10310179/diff/5001/net/proxy/proxy_config.h File net/proxy/proxy_config.h (right): http://codereview.chromium.org/10310179/diff/5001/net/proxy/proxy_config.h#newcode13 net/proxy/proxy_config.h:13: #include "net/proxy/proxy_config_source.h" On 2012/05/18 03:58:56, eroman wrote: > I ...
8 years, 7 months ago (2012-05-18 16:27:00 UTC) #4
eroman
I haven't forgotten about this, will give it another pass real soon now.
8 years, 7 months ago (2012-05-25 02:16:38 UTC) #5
eroman
http://codereview.chromium.org/10310179/diff/7005/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): http://codereview.chromium.org/10310179/diff/7005/net/proxy/proxy_service.cc#newcode1123 net/proxy/proxy_service.cc:1123: (did_use_proxy_rules ? config_.source() : PROXY_CONFIG_SOURCE_NONE); I still don't agree ...
8 years, 6 months ago (2012-06-02 02:06:10 UTC) #6
asanka
On 2012/06/02 02:06:10, eroman wrote: > http://codereview.chromium.org/10310179/diff/7005/net/proxy/proxy_service.cc > File net/proxy/proxy_service.cc (right): > > http://codereview.chromium.org/10310179/diff/7005/net/proxy/proxy_service.cc#newcode1123 > ...
8 years, 6 months ago (2012-06-08 23:27:10 UTC) #7
eroman
LGTM. Thanks for working through my comments! http://codereview.chromium.org/10310179/diff/23008/net/proxy/proxy_config_source.cc File net/proxy/proxy_config_source.cc (right): http://codereview.chromium.org/10310179/diff/23008/net/proxy/proxy_config_source.cc#newcode14 net/proxy/proxy_config_source.cc:14: static const ...
8 years, 6 months ago (2012-06-11 23:18:34 UTC) #8
asanka
Thanks! I addressed comments and added tests for the new code. I'll add it to ...
8 years, 6 months ago (2012-06-12 19:37:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/10310179/25060
8 years, 6 months ago (2012-06-12 20:24:41 UTC) #10
commit-bot: I haz the power
Change committed as 141784
8 years, 6 months ago (2012-06-12 23:32:52 UTC) #11
eroman
8 years, 1 month ago (2012-10-30 00:38:25 UTC) #12
https://chromiumcodereview.appspot.com/10310179/diff/25060/net/proxy/proxy_in...
File net/proxy/proxy_info.cc (right):

https://chromiumcodereview.appspot.com/10310179/diff/25060/net/proxy/proxy_in...
net/proxy/proxy_info.cc:31: Reset();
FYI: interestingly, there was fragile code relying on UseDirect() *not*
resetting config_id_! (see http://crbug.com/143984). Yuck.

Powered by Google App Engine
This is Rietveld 408576698