| Index: services/preferences/persistent_pref_store_impl.h
|
| diff --git a/services/preferences/persistent_pref_store_impl.h b/services/preferences/persistent_pref_store_impl.h
|
| index 5111ed7f4e2ecc93065e21a6a4ff322c3cca1963..1aace44eb8fab3cf6db44ecb8d8bc40a7648953f 100644
|
| --- a/services/preferences/persistent_pref_store_impl.h
|
| +++ b/services/preferences/persistent_pref_store_impl.h
|
| @@ -16,7 +16,8 @@
|
|
|
| namespace prefs {
|
|
|
| -class PersistentPrefStoreImpl : public PrefStore::Observer {
|
| +class PersistentPrefStoreImpl : public PrefStore::Observer,
|
| + public mojom::PrefStore {
|
| public:
|
| using ObservedPrefs = std::set<std::string>;
|
|
|
| @@ -35,6 +36,7 @@ class PersistentPrefStoreImpl : public PrefStore::Observer {
|
|
|
| private:
|
| class Connection;
|
| + class WritableConnection;
|
|
|
| void SetValues(std::vector<mojom::PrefUpdatePtr> updates);
|
|
|
| @@ -46,6 +48,10 @@ class PersistentPrefStoreImpl : public PrefStore::Observer {
|
| void OnPrefValueChanged(const std::string& key) override;
|
| void OnInitializationCompleted(bool succeeded) override;
|
|
|
| + // prefs::mojom::PrefStore:
|
| + void AddObserver(const std::vector<std::string>& prefs_to_observe,
|
| + const AddObserverCallback& callback) override;
|
| +
|
| void OnConnectionError(Connection* connection);
|
|
|
| scoped_refptr<PersistentPrefStore> backing_pref_store_;
|
|
|