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

Side by Side Diff: device/bluetooth/public/interfaces/test/fake_bluetooth.mojom

Issue 2737343003: bluetooth: Add FakeBluetooth interface (Closed)
Patch Set: Add all the READMEs! 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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;
6
7 // FakeBluetooth and its related interfaces allow clients to control the global
8 // Bluetooth State as well as simulate Bluetooth events including finding new
9 // devices, simulating GATT attributes and its descendants, and simulating
10 // success and error responses.
11
12 // FakeBluetooth allows clients to control the global Bluetooth state.
13 interface FakeBluetooth {
14 // Set it to indicate whether a Bluetooth radio (capable of BLE) is available
15 // on the user's system. Not to be confused with Bluetooth support. For
16 // example, Windows 7 is a platform that doesn't support BLE so LE
17 // Availability would be irrelevant. Windows 10 on the other hand does support
18 // Low Energy so LE Availability depends on whether or not a Bluetooth Radio
19 // is present on the machine.
20 SetLEAvailability(bool available) => ();
21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698