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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store.h

Issue 5646003: Sanitize PrefStore interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, fix up unit tests. Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/configuration_policy_pref_store.h
diff --git a/chrome/browser/policy/configuration_policy_pref_store.h b/chrome/browser/policy/configuration_policy_pref_store.h
index be898a8aef07c20e4ee93dd2e183d40873cc5d04..974b7826f3350f06b3d4003708254cb435c84a56 100644
--- a/chrome/browser/policy/configuration_policy_pref_store.h
+++ b/chrome/browser/policy/configuration_policy_pref_store.h
@@ -34,7 +34,8 @@ class ConfigurationPolicyPrefStore : public PrefStore,
virtual ~ConfigurationPolicyPrefStore() {}
// PrefStore methods:
- virtual PrefReadError ReadPrefs();
+ virtual ReadResult GetValue(const std::string& key, Value** result) const;
+
virtual DictionaryValue* prefs() const { return prefs_.get(); }
// ConfigurationPolicyStore methods:

Powered by Google App Engine
This is Rietveld 408576698