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

Unified Diff: base/prefs/default_pref_store.cc

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix double registration in Chrome Frame test. Created 7 years, 10 months 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
« no previous file with comments | « base/prefs/default_pref_store.h ('k') | base/prefs/public/pref_change_registrar_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/default_pref_store.cc
diff --git a/base/prefs/default_pref_store.cc b/base/prefs/default_pref_store.cc
index 8e2644cc719125741d98023d45e816278318c9ec..3df9ad94453cea0ecd3fea724cb8470c18b235c5 100644
--- a/base/prefs/default_pref_store.cc
+++ b/base/prefs/default_pref_store.cc
@@ -25,11 +25,6 @@ void DefaultPrefStore::RemoveDefaultValue(const std::string& key) {
prefs_.RemoveValue(key);
}
-base::Value::Type DefaultPrefStore::GetType(const std::string& key) const {
- const Value* value = NULL;
- return GetValue(key, &value) ? value->GetType() : Value::TYPE_NULL;
-}
-
DefaultPrefStore::const_iterator DefaultPrefStore::begin() const {
return prefs_.begin();
}
« no previous file with comments | « base/prefs/default_pref_store.h ('k') | base/prefs/public/pref_change_registrar_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698