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

Unified Diff: device/bluetooth/mojo/bluetooth_uuid.typemap

Issue 2015463004: bluetooth: Use BluetoothUUID instead of string when sending uuids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-mojo-request-device
Patch Set: Add header Created 4 years, 7 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: device/bluetooth/mojo/bluetooth_uuid.typemap
diff --git a/device/bluetooth/mojo/bluetooth_uuid.typemap b/device/bluetooth/mojo/bluetooth_uuid.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..efdc0a6df71a6bb5103d7cada3ff7227c72eb6e0
--- /dev/null
+++ b/device/bluetooth/mojo/bluetooth_uuid.typemap
@@ -0,0 +1,11 @@
+# Copyright 2016 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 = "//device/bluetooth/mojo/bluetooth_uuid.mojom"
+public_headers = [ "//device/bluetooth/bluetooth_uuid.h" ]
+traits_headers = [ "//device/bluetooth/mojo/bluetooth_uuid_struct_traits.h" ]
+deps = [
+ "//device/bluetooth",
+]
+type_mappings = [ "device.mojom.BluetoothUUID=std::unique_ptr<device::BluetoothUUID>" ]
ortuno 2016/05/26 20:46:13 It would be nice if I could define a different typ
Ken Rockot(use gerrit already) 2016/05/26 21:05:07 I don't think we want to force people to do that.
ortuno 2016/05/27 14:38:35 Yes. That would be even nicer.
Ken Rockot(use gerrit already) 2016/05/27 14:57:42 Doh, right.

Powered by Google App Engine
This is Rietveld 408576698