summaryrefslogtreecommitdiffstats
path: root/base/prefs/testing_pref_store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/prefs/testing_pref_store.cc')
-rw-r--r--base/prefs/testing_pref_store.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/prefs/testing_pref_store.cc b/base/prefs/testing_pref_store.cc
index f7c7830..d40fb8a 100644
--- a/base/prefs/testing_pref_store.cc
+++ b/base/prefs/testing_pref_store.cc
@@ -12,14 +12,14 @@ TestingPrefStore::TestingPrefStore()
init_complete_(false) {
}
-PrefStore::ReadResult TestingPrefStore::GetValue(const std::string& key,
- const Value** value) const {
- return prefs_.GetValue(key, value) ? READ_OK : READ_NO_VALUE;
+bool TestingPrefStore::GetValue(const std::string& key,
+ const Value** value) const {
+ return prefs_.GetValue(key, value);
}
-PrefStore::ReadResult TestingPrefStore::GetMutableValue(const std::string& key,
- Value** value) {
- return prefs_.GetValue(key, value) ? READ_OK : READ_NO_VALUE;
+bool TestingPrefStore::GetMutableValue(const std::string& key,
+ Value** value) {
+ return prefs_.GetValue(key, value);
}
void TestingPrefStore::AddObserver(PrefStore::Observer* observer) {