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

Unified Diff: services/preferences/public/cpp/preferences.typemap

Issue 2601873002: Add a mojo bridge for PersistentPrefStore. (Closed)
Patch Set: rebase 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/cpp/preferences.typemap
diff --git a/services/preferences/public/cpp/preferences.typemap b/services/preferences/public/cpp/preferences.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..d485ce08ddd8070da36e2c17d813a2fa2f5a7158
--- /dev/null
+++ b/services/preferences/public/cpp/preferences.typemap
@@ -0,0 +1,17 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+mojom = "//services/preferences/public/interfaces/preferences.mojom"
+public_headers = [ "//components/prefs/persistent_pref_store.h" ]
+traits_headers =
+ [ "//services/preferences/public/cpp/preferences_struct_traits.h" ]
+public_deps = [
+ "//components/prefs",
+]
+sources = [
+ "//services/preferences/public/cpp/preferences_struct_traits.cc",
+ "//services/preferences/public/cpp/preferences_struct_traits.h",
+]
+
+type_mappings = [ "prefs.mojom.PersistentPrefStoreConnector.ReadError=::PersistentPrefStore::PrefReadError" ]

Powered by Google App Engine
This is Rietveld 408576698