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

Unified Diff: chrome/browser/supervised_user/supervised_user_pref_store.cc

Issue 2692203007: Add PrefStore::GetValues (Closed)
Patch Set: Add GetValues to FilesystemJsonPrefStore Created 3 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
Index: chrome/browser/supervised_user/supervised_user_pref_store.cc
diff --git a/chrome/browser/supervised_user/supervised_user_pref_store.cc b/chrome/browser/supervised_user/supervised_user_pref_store.cc
index 546db70b9ce8d8ad2a4237e8d1aed811c5f46679..565ee8c05ed6c46f4ea3c16720fd6f6cfdceb7d2 100644
--- a/chrome/browser/supervised_user/supervised_user_pref_store.cc
+++ b/chrome/browser/supervised_user/supervised_user_pref_store.cc
@@ -87,6 +87,11 @@ bool SupervisedUserPrefStore::GetValue(const std::string& key,
return prefs_->GetValue(key, value);
}
+std::unique_ptr<base::DictionaryValue> SupervisedUserPrefStore::GetValues()
+ const {
+ return prefs_->AsDictionaryValue();
+}
+
void SupervisedUserPrefStore::AddObserver(PrefStore::Observer* observer) {
observers_.AddObserver(observer);
}
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_pref_store.h ('k') | components/cronet/android/cronet_in_memory_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698