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

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

Issue 2474653003: PreferencesManager (Closed)
Patch Set: Update mojom to support separate subscriptions Created 4 years, 1 month 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: services/preferences/public/interfaces/preferences.mojom
diff --git a/services/preferences/public/interfaces/preferences.mojom b/services/preferences/public/interfaces/preferences.mojom
index bf8d186bfea59db06e7f86cfb37a073846e2c366..cbfca73a3f798360f8f3a8795e47ac5708184124 100644
--- a/services/preferences/public/interfaces/preferences.mojom
+++ b/services/preferences/public/interfaces/preferences.mojom
@@ -15,6 +15,7 @@ interface PreferencesObserver {
// Manages actual read/write of preference data. Accepts observers who subscribe
// to preferences, notifying them of changes.
interface PreferencesManager {
- AddObserver(array<string> preferences, PreferencesObserver client);
+ AddObserver(PreferencesObserver client);
SetPreferences(mojo.common.mojom.DictionaryValue preferences);
+ Subscribe(array<string> preferences);
};

Powered by Google App Engine
This is Rietveld 408576698