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

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

Issue 2644893003: Unify Preferences Mojom Naming to PreferencesService (Closed)
Patch Set: / Created 3 years, 11 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_observer_store_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 cae6a15f56306fda0c5ef0e4b3f9adb3a83417f2..1978e4b671fc5a85ccbd004317b7e515bffa0d90 100644
--- a/services/preferences/public/interfaces/preferences.mojom
+++ b/services/preferences/public/interfaces/preferences.mojom
@@ -8,22 +8,22 @@ import "mojo/common/values.mojom";
const string kServiceName = "preferences";
-// Used for the creation of a PreferencesManager and to ensure that the
-// PreferencesObserver is bound at creation time.
-interface PreferencesFactory {
- // Creates a PreferencesManager bound to the provided |observer|.
- Create(PreferencesObserver observer, PreferencesManager& manager);
+// Used for the creation of a PreferencesService and to ensure that the
+// PreferencesServiceClient is bound at creation time.
+interface PreferencesServiceFactory {
+ // Creates a PreferencesService bound to the provided |observer|.
+ Create(PreferencesServiceClient observer, PreferencesService& service);
};
// Used to subscribe to preference changes within PreferenceManager. After
// requesting to observe, the current values for all requested keys are sent.
-interface PreferencesObserver {
+interface PreferencesServiceClient {
OnPreferencesChanged(mojo.common.mojom.DictionaryValue preferences);
};
// Manages actual read/write of preference data. Accepts observers who subscribe
// to preferences, notifying them of changes.
-interface PreferencesManager {
+interface PreferencesService {
SetPreferences(mojo.common.mojom.DictionaryValue preferences);
Subscribe(array<string> preferences);
};
« no previous file with comments | « services/preferences/public/cpp/tests/pref_observer_store_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698