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 b57e67be7ef3a4308833ccb5687ca41f39d96d8f..544cbe2f533d68b3f0593f59b3ab879ce3da7a1b 100644 |
--- a/services/preferences/persistent_pref_store_impl.h |
+++ b/services/preferences/persistent_pref_store_impl.h |
@@ -22,6 +22,8 @@ namespace prefs { |
class PersistentPrefStoreImpl : public PrefStore::Observer { |
public: |
+ using ObservedPrefs = std::set<std::string>; |
+ |
// If |initialized()| is false after construction, |on_initialized| will be |
// called when it becomes true. |
PersistentPrefStoreImpl( |
@@ -31,7 +33,8 @@ class PersistentPrefStoreImpl : public PrefStore::Observer { |
~PersistentPrefStoreImpl() override; |
- mojom::PersistentPrefStoreConnectionPtr CreateConnection(); |
+ mojom::PersistentPrefStoreConnectionPtr CreateConnection( |
+ ObservedPrefs observed_prefs); |
bool initialized() { return !initializing_; } |