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; | |
| 
 
dpapad
2016/10/11 21:58:32
Does this have to be a different file for technica
 
mbrunson
2016/10/11 23:15:33
Less of a technical reason and more for organizati
 
 | |
| 6 | |
| 7 struct DeviceInfo { | |
| 8 string? name; | |
| 9 string name_for_display; | |
| 10 string address; | |
| 11 }; | |
| 12 | |
| 13 interface Device { | |
| 14 // Gets basic information about the device. | |
| 15 // Returns null, If no device is available. | |
| 
 
dpapad
2016/10/11 21:58:32
Nit (optional): Maximize 80col usage before brakin
 
mbrunson
2016/10/11 23:15:33
Done.
 
 | |
| 16 GetInfo() => (DeviceInfo? info); | |
| 17 }; | |
| OLD | NEW |