Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module bluetooth.mojom; | 5 module bluetooth.mojom; |
| 6 | 6 |
| 7 struct DeviceInfo { | 7 struct DeviceInfo { |
| 8 string? name; | 8 string? name; |
| 9 string name_for_display; | 9 string name_for_display; |
| 10 string address; | 10 string address; |
| 11 int8 rssi; | |
|
scheib
2016/10/19 21:28:56
I'd prefer we not use magic values to indicate the
mbrunson
2016/10/19 22:29:22
Done.
| |
| 11 }; | 12 }; |
| 12 | 13 |
| 13 interface Device { | 14 interface Device { |
| 14 // Gets basic information about the device. Returns null, if no device is | 15 // Gets basic information about the device. Returns null, if no device is |
| 15 // available. | 16 // available. |
| 16 GetInfo() => (DeviceInfo? info); | 17 GetInfo() => (DeviceInfo? info); |
| 17 }; | 18 }; |
| OLD | NEW |