| Index: device/bluetooth/public/interfaces/test/fake_bluetooth.mojom
|
| diff --git a/device/bluetooth/public/interfaces/test/fake_bluetooth.mojom b/device/bluetooth/public/interfaces/test/fake_bluetooth.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3ac2e80111de624cae06223d242c9205ea1bf6c9
|
| --- /dev/null
|
| +++ b/device/bluetooth/public/interfaces/test/fake_bluetooth.mojom
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2017 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;
|
| +
|
| +// FakeBluetooth and its related interfaces allow clients to control the global
|
| +// Bluetooth State as well as simulate Bluetooth events including finding new
|
| +// devices, simulating GATT attributes and its descendants, and simulating
|
| +// success and error responses.
|
| +
|
| +// FakeBluetooth allows clients to control the global Bluetooth state.
|
| +interface FakeBluetooth {
|
| + // Set it to indicate whether the platform supports BLE. For example, Windows
|
| + // 7 is a platform that doesn't support Low Energy. On the other hand Windows
|
| + // 10 is a platform that does support LE, even if there is no Bluetooth radio
|
| + // available.
|
| + SetLESupported(bool available) => ();
|
| +};
|
|
|