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

Issue 60009: ProxyConfigService for Linux.... (Closed)

Created:
11 years, 8 months ago by sdoyon
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

ProxyConfigService for Linux. Establishes a ProxyConfig by reading settings from gconf or consulting environment variables. BUG=8143 Thanks to ermilov.maxim@gmail.com for his contribution: some ideas< and code snippets from his patch were folded into this one. (See http://codereview.chromium.org/49009) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14034

Patch Set 1 #

Total comments: 60

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 47

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1552 lines, -54 lines) Patch
M build/install-build-deps.sh View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M build/linux/system.gyp View 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/app/chrome_dll_main.cc View 3 4 5 2 chunks +12 lines, -1 line 0 comments Download
M net/net.gyp View 1 2 3 4 5 5 chunks +13 lines, -1 line 0 comments Download
M net/proxy/proxy_config.h View 3 5 1 chunk +6 lines, -1 line 0 comments Download
M net/proxy/proxy_config.cc View 5 2 chunks +2 lines, -3 lines 0 comments Download
A net/proxy/proxy_config_service_common_unittest.h View 3 1 chunk +38 lines, -0 lines 0 comments Download
A net/proxy/proxy_config_service_common_unittest.cc View 3 1 chunk +51 lines, -0 lines 0 comments Download
A net/proxy/proxy_config_service_linux.h View 1 2 3 1 chunk +108 lines, -0 lines 0 comments Download
A net/proxy/proxy_config_service_linux.cc View 1 2 3 1 chunk +556 lines, -0 lines 0 comments Download
A net/proxy/proxy_config_service_linux_unittest.cc View 1 2 3 4 1 chunk +736 lines, -0 lines 0 comments Download
M net/proxy/proxy_config_service_win.h View 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/proxy_config_service_win_unittest.cc View 3 4 5 2 chunks +4 lines, -39 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 3 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sdoyon
11 years, 8 months ago (2009-04-02 20:25:44 UTC) #1
eroman
I have done a quick first pass for some nits. Will follow up with more ...
11 years, 8 months ago (2009-04-02 21:37:48 UTC) #2
eroman
wee, got through it all! generally looks good, and you are considering a lot of ...
11 years, 8 months ago (2009-04-02 23:58:33 UTC) #3
sdoyon
> http://codereview.chromium.org/60009/diff/1/13#newcode36 > Line 36: g_type_init(); > nit: can the need for this be clarified ...
11 years, 8 months ago (2009-04-03 19:35:37 UTC) #4
sdoyon
On Thu, 2 Apr 2009, eroman@chromium.org wrote: > http://codereview.chromium.org/60009/diff/1/3 > File net/proxy/proxy_config_service_linux.cc (right): > > ...
11 years, 8 months ago (2009-04-10 05:30:21 UTC) #5
sdoyon
On Thu, 2 Apr 2009, eroman@chromium.org wrote: > http://codereview.chromium.org/60009/diff/1/6 > File net/proxy/proxy_config_service_linux_unittest.cc (right): > > ...
11 years, 8 months ago (2009-04-10 05:31:15 UTC) #6
eroman
Excellent work! LGTM after your review these comments. > 2) When you get a test ...
11 years, 8 months ago (2009-04-10 08:41:26 UTC) #7
sdoyon
On Fri, 10 Apr 2009, eroman@chromium.org wrote: >> 2) When you get a test failure, ...
11 years, 8 months ago (2009-04-14 15:11:35 UTC) #8
sdoyon
On Fri, 10 Apr 2009, eroman@chromium.org wrote: > http://codereview.chromium.org/60009/diff/4001/5003 > File net/proxy/proxy_config_service_linux.h (right): > > ...
11 years, 8 months ago (2009-04-14 15:12:32 UTC) #9
eroman
LGTM. > Actually for this to be ultimate, we'd want a ToString() > function on ...
11 years, 8 months ago (2009-04-14 20:04:55 UTC) #10
sdoyon
On Tue, 14 Apr 2009, eroman@chromium.org wrote: >> Actually for this to be ultimate, we'd ...
11 years, 8 months ago (2009-04-16 14:52:05 UTC) #11
eroman
still LGTM. > Holding the commit because of developments on the gconf > thread-safety front. ...
11 years, 8 months ago (2009-04-16 19:38:22 UTC) #12
sdoyon
11 years, 8 months ago (2009-04-17 14:22:04 UTC) #13
On Thu, 16 Apr 2009, eroman@chromium.org wrote:

> still LGTM.
>
>> Holding the commit because of developments on the gconf
>> thread-safety front.
>
> I recommend you check this in now.
> Any gconf thread safety changes can be tackled as a subsequent
> iteration. That will make the reviewing easier, and get your unit tests
> running sooner (so ppl don't break your work).

OK then. I'll send a heads-up for the new build dependency.

> http://codereview.chromium.org/60009/diff/7001/4036
> File net/proxy/proxy_config.cc (right):
>
> http://codereview.chromium.org/60009/diff/7001/4036#newcode96
> Line 96: // Helper to stringize a ProxyRules.
> delete, as the documentation is now in header.

Done.

> http://codereview.chromium.org/60009/diff/7001/4037
> File net/proxy/proxy_config.h (right):
>
> http://codereview.chromium.org/60009/diff/7001/4037#newcode114
> Line 114: // Dumps a human-readable string representation of the
> proxy_rules to |out|;
> "the proxy_rules" --> either "the proxy rules", "|rules|", "the
> ProxyRules".

Done.

> http://codereview.chromium.org/60009/diff/7001/4031
> File net/proxy/proxy_config_service_win_unittest.cc (right):
>
> http://codereview.chromium.org/60009/diff/7001/4031#newcode172
> Line 172: EXPECT_TRUE(tests[i].proxy_rules == config.proxy_rules);
> would be super to update this too.

Oh sure.

Powered by Google App Engine
This is Rietveld 408576698