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..cb7078bf468ec87e71338259330e0fc36e18e51c |
--- /dev/null |
+++ b/device/bluetooth/public/interfaces/test/fake_bluetooth.mojom |
@@ -0,0 +1,12 @@ |
+// 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 allows its clients to fake the global Bluetooth state. |
+interface FakeBluetooth { |
+ // Set to false to simulate that the platform doesn't support Bluetooth Low |
+ // Energy. |
+ SetLEAvailability(bool available) => (); |
+}; |