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

Unified Diff: components/prefs/default_pref_store.h

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: components/prefs/default_pref_store.h
diff --git a/components/prefs/default_pref_store.h b/components/prefs/default_pref_store.h
index 3481713f8935afaf60a5ee7e3d09bf1f057e1fb6..c06cd6c10de37cf0d00f73c494fa121d344c4dca 100644
--- a/components/prefs/default_pref_store.h
+++ b/components/prefs/default_pref_store.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_PREFS_DEFAULT_PREF_STORE_H_
#define COMPONENTS_PREFS_DEFAULT_PREF_STORE_H_
+#include <memory>
#include <string>
#include "base/macros.h"
@@ -24,6 +25,7 @@ class COMPONENTS_PREFS_EXPORT DefaultPrefStore : public PrefStore {
// PrefStore implementation:
bool GetValue(const std::string& key,
const base::Value** result) const override;
+ std::unique_ptr<base::DictionaryValue> GetValues() const override;
void AddObserver(PrefStore::Observer* observer) override;
void RemoveObserver(PrefStore::Observer* observer) override;
bool HasObservers() const override;
« no previous file with comments | « components/policy/core/browser/configuration_policy_pref_store.cc ('k') | components/prefs/default_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698