| 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..0e2cbaee9c59070d7db45dc36ca180167163142b
|
| --- /dev/null
|
| +++ b/device/bluetooth/public/interfaces/device.mojom
|
| @@ -0,0 +1,16 @@
|
| +// 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 address;
|
| +};
|
| +
|
| +interface Device {
|
| + // Gets basic information about the device.
|
| + // Returns null, If no device is available.
|
| + GetInfo() => (DeviceInfo? info);
|
| +};
|
|
|