Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2141)

Unified Diff: device/bluetooth/public/interfaces/test/fake_bluetooth.mojom

Issue 2737343003: bluetooth: Add FakeBluetooth interface (Closed)
Patch Set: Fix windows Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
scheib 2017/04/08 00:59:50 Let's create a src/device/bluetooth/public/interfa
ortuno 2017/04/10 01:47:49 I really dislike the idea of a small README becaus
scheib 2017/04/10 21:52:31 I'd like to see: a) Relevant design documentation
ortuno 2017/04/12 05:49:06 OK. I added a README to bluetooth/public/interface
+interface FakeBluetooth {
+ // Set to false to simulate that the platform doesn't support Bluetooth Low
+ // Energy.
+ SetLEAvailability(bool available) => ();
+};

Powered by Google App Engine
This is Rietveld 408576698