Index: device/bluetooth/public/interfaces/device.mojom |
diff --git a/device/bluetooth/public/interfaces/device.mojom b/device/bluetooth/public/interfaces/device.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..42feed0b1e4f0c1524c6478c529e5131a0ec89f2 |
--- /dev/null |
+++ b/device/bluetooth/public/interfaces/device.mojom |
@@ -0,0 +1,17 @@ |
+// 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. |
+ |
+module bluetooth.mojom; |
+ |
+struct DeviceInfo { |
+ string? name; |
+ string id; |
scheib
2016/10/10 20:23:51
Let's not add the 'id' unless we need it (which I
mbrunson
2016/10/10 22:01:09
Done.
|
+ string address; |
+}; |
+ |
+interface Device { |
+ // Gets basic information about the device. |
+ // Returns null, If no device is available. |
+ GetInfo() => (DeviceInfo? info); |
+}; |