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

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

Issue 2778643002: Pref service: Filter updates from read-only pref stores. (Closed)
Patch Set: Created 3 years, 9 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/tests/pref_store_impl_unittest.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 eab0b6074b453d459e102b1a8a5155d9b00a85fc..191a90b936daae37643401820f242abf5004a3e0 100644
--- a/services/preferences/public/interfaces/preferences.mojom
+++ b/services/preferences/public/interfaces/preferences.mojom
@@ -93,10 +93,11 @@ struct PersistentPrefStoreConnection {
// Manages actual read of preference data. Accepts observers who subscribe to
// preferences, notifying them of changes.
interface PrefStore {
- // Add an observer of changes. This current values of all prefs will not be
- // communicated through a call to |observer| but instead be returned in
- // |initial_prefs|.
- AddObserver() => (PrefStoreConnection connection);
+ // Add an observer of changes to prefs contained in |prefs_to_observe|. This
+ // current values of all prefs will not be communicated through a call to
+ // |observer| but instead be returned in |initial_prefs|.
+ AddObserver(array<string> prefs_to_observe) => (
+ PrefStoreConnection connection);
};
// Manages a registry of all pref stores. Registered pref stores can be
« no previous file with comments | « services/preferences/public/cpp/tests/pref_store_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698