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

Issue 11365112: Change PrefStore::ReadResult to a boolean. (Closed)

Created:
8 years, 1 month ago by Bernhard Bauer
Modified:
8 years, 1 month ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Change PrefStore::ReadResult to a boolean. The third value in the enum (READ_USE_DEFAULT) isn't used anymore. TBR=phajdan.jr@chromium.org,abodenha@chromium.org,tim@chromium.org BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166706

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 5

Patch Set 3 : review #

Patch Set 4 : sync #

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -332 lines) Patch
M base/prefs/default_pref_store.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M base/prefs/default_pref_store.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M base/prefs/json_pref_store.h View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M base/prefs/json_pref_store.cc View 1 2 3 2 chunks +11 lines, -11 lines 0 comments Download
M base/prefs/json_pref_store_unittest.cc View 1 2 3 2 chunks +8 lines, -11 lines 0 comments Download
M base/prefs/overlay_user_pref_store.h View 1 chunk +4 lines, -4 lines 0 comments Download
M base/prefs/overlay_user_pref_store.cc View 2 chunks +11 lines, -15 lines 0 comments Download
M base/prefs/overlay_user_pref_store_unittest.cc View 8 chunks +23 lines, -33 lines 0 comments Download
M base/prefs/persistent_pref_store.h View 1 chunk +2 lines, -2 lines 0 comments Download
M base/prefs/pref_store.h View 2 chunks +3 lines, -13 lines 0 comments Download
M base/prefs/testing_pref_store.h View 1 chunk +4 lines, -4 lines 0 comments Download
M base/prefs/testing_pref_store.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M base/prefs/value_map_pref_store.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M base/prefs/value_map_pref_store.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 32 chunks +76 lines, -130 lines 0 comments Download
M chrome/browser/policy/managed_mode_policy_provider.cc View 1 2 3 1 chunk +6 lines, -14 lines 0 comments Download
M chrome/browser/policy/managed_mode_policy_provider_unittest.cc View 1 chunk +8 lines, -15 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store_unittest.cc View 5 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/prefs/pref_service.cc View 1 2 3 5 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/prefs/pref_value_store.cc View 1 chunk +4 lines, -16 lines 0 comments Download
M chrome/browser/sync/credential_cache_service_win.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/service_process_prefs.cc View 1 2 3 5 chunks +9 lines, -14 lines 0 comments Download
M chrome/test/base/testing_pref_service.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Bernhard Bauer
Please review.
8 years, 1 month ago (2012-11-07 21:34:41 UTC) #1
Mattias Nissler (ping if slow)
LGTM if you restore the CHECKs or convince me they should be DCHECKs. http://codereview.chromium.org/11365112/diff/4001/base/prefs/default_pref_store.cc File ...
8 years, 1 month ago (2012-11-08 10:29:58 UTC) #2
Bernhard Bauer
http://codereview.chromium.org/11365112/diff/4001/base/prefs/default_pref_store.cc File base/prefs/default_pref_store.cc (right): http://codereview.chromium.org/11365112/diff/4001/base/prefs/default_pref_store.cc#newcode12 base/prefs/default_pref_store.cc:12: DCHECK(!GetValue(key, NULL)); On 2012/11/08 10:29:58, Mattias Nissler wrote: > ...
8 years, 1 month ago (2012-11-08 12:18:28 UTC) #3
Mattias Nissler (ping if slow)
http://codereview.chromium.org/11365112/diff/4001/base/prefs/default_pref_store.cc File base/prefs/default_pref_store.cc (right): http://codereview.chromium.org/11365112/diff/4001/base/prefs/default_pref_store.cc#newcode12 base/prefs/default_pref_store.cc:12: DCHECK(!GetValue(key, NULL)); On 2012/11/08 12:18:28, Bernhard Bauer wrote: > ...
8 years, 1 month ago (2012-11-08 12:35:17 UTC) #4
Bernhard Bauer
http://codereview.chromium.org/11365112/diff/4001/base/prefs/default_pref_store.cc File base/prefs/default_pref_store.cc (right): http://codereview.chromium.org/11365112/diff/4001/base/prefs/default_pref_store.cc#newcode12 base/prefs/default_pref_store.cc:12: DCHECK(!GetValue(key, NULL)); On 2012/11/08 12:35:17, Mattias Nissler wrote: > ...
8 years, 1 month ago (2012-11-08 14:03:24 UTC) #5
Mattias Nissler (ping if slow)
Thanks, LGTM.
8 years, 1 month ago (2012-11-08 14:12:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/11365112/9003
8 years, 1 month ago (2012-11-08 14:13:49 UTC) #7
commit-bot: I haz the power
Presubmit check for 11365112-9003 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-08 14:14:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/11365112/9003
8 years, 1 month ago (2012-11-08 14:55:10 UTC) #9
commit-bot: I haz the power
8 years, 1 month ago (2012-11-08 18:24:38 UTC) #10
Change committed as 166706

Powered by Google App Engine
This is Rietveld 408576698