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

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

Issue 2778733003: Pref service: delete old implementation (Closed)
Patch Set: Fix missed merge 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
Index: services/preferences/public/interfaces/preferences.mojom
diff --git a/services/preferences/public/interfaces/preferences.mojom b/services/preferences/public/interfaces/preferences.mojom
index e5f279046134247237af4d890f3eb56f4d5ae2c1..73d01a0f4b17f8de34d3bc6ce31f6f947e99a1d8 100644
--- a/services/preferences/public/interfaces/preferences.mojom
+++ b/services/preferences/public/interfaces/preferences.mojom
@@ -8,28 +8,6 @@ import "mojo/common/values.mojom";
import "services/preferences/public/interfaces/preferences_configuration.mojom";
const string kServiceName = "preferences";
-
-// 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 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 PreferencesService {
- SetPreferences(mojo.common.mojom.DictionaryValue preferences);
- Subscribe(array<string> preferences);
-};
-
-const string kPrefStoreServiceName = "preferences2";
const string kForwarderServiceName = "preferences_forwarder";
// The know pref store types.
« no previous file with comments | « services/preferences/public/cpp/tests/pref_client_store_unittest.cc ('k') | services/preferences/unittest_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698