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

Unified Diff: components/cronet/android/cronet_in_memory_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/cronet/android/cronet_in_memory_pref_store.h
diff --git a/components/cronet/android/cronet_in_memory_pref_store.h b/components/cronet/android/cronet_in_memory_pref_store.h
index eb0cc709223a57a2c74b0a9da11ecf9ce096c22a..20c16891b2f3caf7f6a66ce7f4a340e843d96283 100644
--- a/components/cronet/android/cronet_in_memory_pref_store.h
+++ b/components/cronet/android/cronet_in_memory_pref_store.h
@@ -17,6 +17,7 @@
#include "components/prefs/pref_value_map.h"
namespace base {
+class DictionaryValue;
class Value;
}
@@ -30,6 +31,7 @@ class CronetInMemoryPrefStore : public PersistentPrefStore {
// PrefStore overrides:
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 | « chrome/browser/supervised_user/supervised_user_pref_store.cc ('k') | components/cronet/android/cronet_in_memory_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698