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

Issue 6240013: Make proxy settings one atomic dictionary in the PrefStores such that modifications are atomic. (Closed)

Created:
9 years, 11 months ago by battre
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Erik does not do reviews, Aaron Boodman, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org
Visibility:
Public.

Description

Make proxy settings one atomic dictionary in the PrefStores such that modifications are atomic. BUG=67779, 70904 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74284

Patch Set 1 #

Total comments: 1

Patch Set 2 : Updated to ToT and addressed Matt's comments in base-CL #

Total comments: 12

Patch Set 3 : Addressed comments #

Patch Set 4 : Fixed Lint comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+613 lines, -317 lines) Patch
M chrome/browser/dom_ui/options/advanced_options_handler.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_proxy_api.h View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_proxy_api.cc View 1 2 5 chunks +66 lines, -49 lines 0 comments Download
M chrome/browser/extensions/extension_proxy_apitest.cc View 1 2 10 chunks +85 lines, -76 lines 0 comments Download
M chrome/browser/net/pref_proxy_config_service.cc View 1 2 5 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/net/pref_proxy_config_service_unittest.cc View 1 2 5 chunks +8 lines, -24 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 chunks +32 lines, -28 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 2 3 chunks +20 lines, -20 lines 0 comments Download
M chrome/browser/policy/managed_prefs_banner_base.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 1 2 3 chunks +16 lines, -12 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store_unittest.cc View 1 2 6 chunks +24 lines, -16 lines 0 comments Download
M chrome/browser/prefs/pref_service.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_service.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_service_unittest.cc View 1 2 10 chunks +74 lines, -37 lines 0 comments Download
M chrome/browser/prefs/pref_set_observer.cc View 1 chunk +1 line, -4 lines 0 comments Download
A chrome/browser/prefs/proxy_config_dictionary.h View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
A chrome/browser/prefs/proxy_config_dictionary.cc View 1 2 1 chunk +94 lines, -0 lines 0 comments Download
A chrome/browser/prefs/proxy_config_dictionary_unittest.cc View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
M chrome/browser/prefs/proxy_prefs.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prefs/proxy_prefs.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/prefs/proxy_prefs_unittest.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/experimental.proxy.html View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +2 lines, -12 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
battre
Please review. Thanks. :-) http://codereview.chromium.org/6240013/diff/1/chrome/browser/policy/configuration_policy_pref_store_unittest.cc File chrome/browser/policy/configuration_policy_pref_store_unittest.cc (right): http://codereview.chromium.org/6240013/diff/1/chrome/browser/policy/configuration_policy_pref_store_unittest.cc#newcode242 chrome/browser/policy/configuration_policy_pref_store_unittest.cc:242: ProxyPrefsDictionary dict((DictionaryValue*) value); changed this ...
9 years, 11 months ago (2011-01-27 15:19:35 UTC) #1
battre
Ping (haven't received any reviews, yet)
9 years, 10 months ago (2011-02-02 11:08:28 UTC) #2
danno
Pretty good, mostly nits. http://codereview.chromium.org/6240013/diff/21001/chrome/browser/extensions/extension_proxy_api.h File chrome/browser/extensions/extension_proxy_api.h (right): http://codereview.chromium.org/6240013/diff/21001/chrome/browser/extensions/extension_proxy_api.h#newcode46 chrome/browser/extensions/extension_proxy_api.h:46: bool GetProxyRules(DictionaryValue* proxy_rules, std::string* out); ...
9 years, 10 months ago (2011-02-04 10:32:13 UTC) #3
battre
Thanks, Danno. I have addressed your comments. http://codereview.chromium.org/6240013/diff/21001/chrome/browser/extensions/extension_proxy_api.h File chrome/browser/extensions/extension_proxy_api.h (right): http://codereview.chromium.org/6240013/diff/21001/chrome/browser/extensions/extension_proxy_api.h#newcode46 chrome/browser/extensions/extension_proxy_api.h:46: bool GetProxyRules(DictionaryValue* ...
9 years, 10 months ago (2011-02-07 14:13:47 UTC) #4
danno
9 years, 10 months ago (2011-02-09 13:22:42 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698