Chromium Code Reviews| Index: device/bluetooth/public/interfaces/le_device.mojom | 
| diff --git a/device/bluetooth/public/interfaces/le_device.mojom b/device/bluetooth/public/interfaces/le_device.mojom | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..308d1571f0586d260c72594efa7f28890fc7577a | 
| --- /dev/null | 
| +++ b/device/bluetooth/public/interfaces/le_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 LEDeviceInfo { | 
| + string? name; | 
| 
 
ortuno
2016/10/10 00:11:20
What about nameForDisplay? You will probably want
 
mbrunson
2016/10/10 19:21:28
Unless I'm missing something, GetNameForDisplay()
 
ortuno
2016/10/11 00:45:45
The purpose of GetNameForDisplay is not only to re
 
 | 
| + string id; | 
| + string address; | 
| +}; | 
| + | 
| +interface LEDevice { | 
| 
 
ortuno
2016/10/10 00:11:20
Since this is just a thin wrapper around the curre
 
mbrunson
2016/10/10 19:21:28
I'll change it for now.
 
 | 
| + // Gets basic information about the device. | 
| + // Returns null, If no adapter is available. | 
| 
 
ortuno
2016/10/10 00:11:20
nit: lower-case after comma. Also I think you mean
 
mbrunson
2016/10/10 19:21:28
Done.
 
 | 
| + GetInfo() => (LEDeviceInfo? info); | 
| +}; |