Index: services/preferences/public/interfaces/preferences.mojom |
diff --git a/services/preferences/public/interfaces/preferences.mojom b/services/preferences/public/interfaces/preferences.mojom |
index 0225a8486d4c7a41afd01051589ddf08ac736532..748599833e3d0da2079ecf89cff609ebc88df109 100644 |
--- a/services/preferences/public/interfaces/preferences.mojom |
+++ b/services/preferences/public/interfaces/preferences.mojom |
@@ -112,8 +112,9 @@ interface PrefStoreConnector { |
// prefs in each store and an |observer| interfaces through which updates can |
// be received. |
[Sync] |
- Connect() => (PersistentPrefStoreConnection connection, |
- map<PrefStoreType, PrefStoreConnection> connections); |
+ Connect(PrefRegistry pref_registry) => |
+ (PersistentPrefStoreConnection connection, |
+ map<PrefStoreType, PrefStoreConnection> connections); |
}; |
// An interface providing mutation access to a PersistentPrefStore. |
@@ -128,6 +129,16 @@ interface PersistentPrefStore { |
ClearMutableValues(); |
}; |
+// A registry of all prefs registered by a single client. |
+struct PrefRegistry { |
+ map<string, PrefRegistration> registrations; |
+}; |
+ |
+struct PrefRegistration { |
+ mojo.common.mojom.Value default_value; |
+ uint32 flags; |
tibell
2017/03/26 22:54:47
Add a comment pointing to where these flags are de
Sam McNally
2017/03/26 23:02:45
Done.
|
+}; |
+ |
interface PrefServiceControl { |
// Initializes the pref service. This must be called before the service can |
// be used. |