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

Unified Diff: device/bluetooth/public/interfaces/bluetooth_uuid.typemap

Issue 2179273002: Mojo C++ bindings: support mapping T and T? differently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « components/arc/test/fake_app_instance.cc ('k') | mojo/public/cpp/bindings/tests/struct_traits_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/public/interfaces/bluetooth_uuid.typemap
diff --git a/device/bluetooth/public/interfaces/bluetooth_uuid.typemap b/device/bluetooth/public/interfaces/bluetooth_uuid.typemap
index 8f0c86ecd44b00adc754529d00195a39f42578f1..781c48e9d305d482f220a39933cc47f6e4515ebb 100644
--- a/device/bluetooth/public/interfaces/bluetooth_uuid.typemap
+++ b/device/bluetooth/public/interfaces/bluetooth_uuid.typemap
@@ -5,11 +5,12 @@
mojom = "//device/bluetooth/public/interfaces/bluetooth_uuid.mojom"
public_headers = [
"//base/optional.h",
- "//device/bluetooth/bluetooth_uuid.h"
+ "//device/bluetooth/bluetooth_uuid.h",
]
-traits_headers = [ "//device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h" ]
+traits_headers =
+ [ "//device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h" ]
deps = [
"//base",
"//device/bluetooth",
]
-type_mappings = [ "device.mojom.BluetoothUUID=base::Optional<device::BluetoothUUID>" ]
+type_mappings = [ "device.mojom.BluetoothUUID=base::Optional<device::BluetoothUUID>[nullable_is_same_type]" ]
« no previous file with comments | « components/arc/test/fake_app_instance.cc ('k') | mojo/public/cpp/bindings/tests/struct_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698