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

Issue 5537002: Fixed minor atomicity issue in PrefProxyConfigService::GetLatestProxyConfig. (Closed)

Created:
10 years ago by battre (please use the other)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fixed minor atomicity issue in PrefProxyConfigService::GetLatestProxyConfig and remaining comments of 5005002. See http://codereview.chromium.org/5005002. BUG=48930 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68573

Patch Set 1 #

Patch Set 2 : Addressed final comments by eroman #

Patch Set 3 : Removed TestURLRequestContextGetter #

Total comments: 3

Patch Set 4 : Addressed comment by Eric #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -35 lines) Patch
M chrome/browser/net/chrome_url_request_context.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/net/pref_proxy_config_service.h View 1 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/net/pref_proxy_config_service.cc View 1 2 3 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/test/testing_profile.cc View 1 2 2 chunks +1 line, -20 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
battre (please use the other)
10 years ago (2010-12-02 18:05:27 UTC) #1
eroman
Thanks for addressing those comments. http://codereview.chromium.org/5537002/diff/9001/chrome/browser/net/pref_proxy_config_service.cc File chrome/browser/net/pref_proxy_config_service.cc (right): http://codereview.chromium.org/5537002/diff/9001/chrome/browser/net/pref_proxy_config_service.cc#newcode73 chrome/browser/net/pref_proxy_config_service.cc:73: if (valid && (!valid_ ...
10 years ago (2010-12-02 19:31:22 UTC) #2
eroman
http://codereview.chromium.org/5537002/diff/9001/chrome/browser/net/pref_proxy_config_service.cc File chrome/browser/net/pref_proxy_config_service.cc (right): http://codereview.chromium.org/5537002/diff/9001/chrome/browser/net/pref_proxy_config_service.cc#newcode73 chrome/browser/net/pref_proxy_config_service.cc:73: if (valid && (!valid_ || !pref_config_.Equals(config))) { On 2010/12/02 ...
10 years ago (2010-12-02 19:32:40 UTC) #3
battre (please use the other)
I agree, thanks for pointing this out. http://codereview.chromium.org/5537002/diff/9001/chrome/browser/net/pref_proxy_config_service.cc File chrome/browser/net/pref_proxy_config_service.cc (right): http://codereview.chromium.org/5537002/diff/9001/chrome/browser/net/pref_proxy_config_service.cc#newcode73 chrome/browser/net/pref_proxy_config_service.cc:73: if (valid ...
10 years ago (2010-12-03 08:57:23 UTC) #4
Mattias Nissler (ping if slow)
Dominic, thanks for fixing this. LGTM.
10 years ago (2010-12-03 09:40:03 UTC) #5
eroman
10 years ago (2010-12-03 20:02:43 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698