Index: chrome/browser/policy/configuration_policy_pref_store.cc |
diff --git a/chrome/browser/policy/configuration_policy_pref_store.cc b/chrome/browser/policy/configuration_policy_pref_store.cc |
index 968b95f60b38be5ff66b555d1131bc52047b9678..1449a6d72d10af3a7b0ced00c5dd23cbba450c76 100644 |
--- a/chrome/browser/policy/configuration_policy_pref_store.cc |
+++ b/chrome/browser/policy/configuration_policy_pref_store.cc |
@@ -65,16 +65,15 @@ bool ConfigurationPolicyPrefStore::IsInitializationComplete() const { |
return policy_service_->IsInitializationComplete(); |
} |
-PrefStore::ReadResult |
-ConfigurationPolicyPrefStore::GetValue(const std::string& key, |
- const Value** value) const { |
+bool ConfigurationPolicyPrefStore::GetValue(const std::string& key, |
+ const Value** value) const { |
const Value* stored_value = NULL; |
if (!prefs_.get() || !prefs_->GetValue(key, &stored_value)) |
- return PrefStore::READ_NO_VALUE; |
+ return false; |
if (value) |
*value = stored_value; |
- return PrefStore::READ_OK; |
+ return true; |
} |
void ConfigurationPolicyPrefStore::OnPolicyUpdated( |