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

Unified Diff: services/preferences/public/interfaces/preferences.mojom

Issue 2791903003: Pref service: have Mash and Chrome connect to the right pref stores (Closed)
Patch Set: ProfilePrefStoreManagerTest: explicit list stores to connect to Created 3 years, 8 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
« no previous file with comments | « services/preferences/public/cpp/pref_service_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/public/interfaces/preferences.mojom
diff --git a/services/preferences/public/interfaces/preferences.mojom b/services/preferences/public/interfaces/preferences.mojom
index 73d01a0f4b17f8de34d3bc6ce31f6f947e99a1d8..99c0d80dfca81df4732c9fd4a2f3225f5ad55c96 100644
--- a/services/preferences/public/interfaces/preferences.mojom
+++ b/services/preferences/public/interfaces/preferences.mojom
@@ -90,9 +90,12 @@ interface PrefStoreRegistry {
interface PrefStoreConnector {
// Connect to all registered pref stores, retrieving the current values of all
// prefs in each store and an |observer| interfaces through which updates can
- // be received.
+ // be received. The client asserts that it is already connected to the
+ // |already_connected_types| pref stores through some other means, so the
+ // Connect call will not connect to those.
[Sync]
- Connect(PrefRegistry pref_registry) =>
+ Connect(PrefRegistry pref_registry,
+ array<PrefStoreType> already_connected_types) =>
(PersistentPrefStoreConnection connection,
map<PrefStoreType, PrefStoreConnection> connections);
};
« no previous file with comments | « services/preferences/public/cpp/pref_service_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698