summaryrefslogtreecommitdiff
path: root/chromium/components/prefs/json_pref_store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/prefs/json_pref_store.cc')
-rw-r--r--chromium/components/prefs/json_pref_store.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/components/prefs/json_pref_store.cc b/chromium/components/prefs/json_pref_store.cc
index 026606a7b76..a9a39227d3f 100644
--- a/chromium/components/prefs/json_pref_store.cc
+++ b/chromium/components/prefs/json_pref_store.cc
@@ -190,6 +190,10 @@ bool JsonPrefStore::GetValue(const std::string& key,
return true;
}
+std::unique_ptr<base::DictionaryValue> JsonPrefStore::GetValues() const {
+ return prefs_->CreateDeepCopy();
+}
+
void JsonPrefStore::AddObserver(PrefStore::Observer* observer) {
DCHECK(CalledOnValidThread());