Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module bluetooth.mojom; | |
| 6 | |
| 7 struct DeviceInfo { | |
| 8 string? name; | |
| 9 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.
| |
| 10 string address; | |
| 11 }; | |
| 12 | |
| 13 interface Device { | |
| 14 // Gets basic information about the device. | |
| 15 // Returns null, If no device is available. | |
| 16 GetInfo() => (DeviceInfo? info); | |
| 17 }; | |
| OLD | NEW |