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

Side by Side Diff: device/bluetooth/test/fake_bluetooth.h

Issue 2737343003: bluetooth: Add FakeBluetooth interface (Closed)
Patch Set: move web-bluetooth-test.js 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
« no previous file with comments | « device/bluetooth/test/README.md ('k') | device/bluetooth/test/fake_bluetooth.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef DEVICE_BLUETOOTH_TEST_FAKE_BLUETOOTH_H_
5 #define DEVICE_BLUETOOTH_TEST_FAKE_BLUETOOTH_H_
6
7 #include "base/compiler_specific.h"
8 #include "device/bluetooth/public/interfaces/test/fake_bluetooth.mojom.h"
9 #include "mojo/public/cpp/bindings/binding.h"
10
11 namespace bluetooth {
12
13 // Implementation of FakeBluetooth in
14 // src/device/bluetooth/public/interfaces/test/fake_bluetooth.mojom.
15 // Implemented on top of the C++ device/bluetooth API.
16 class FakeBluetooth : NON_EXPORTED_BASE(public mojom::FakeBluetooth) {
17 public:
18 FakeBluetooth();
19 ~FakeBluetooth() override;
20
21 static void Create(mojom::FakeBluetoothRequest request);
22
23 void SetLESupported(bool available,
24 const SetLESupportedCallback& callback) override;
25 };
26
27 } // namespace bluetooth
28
29 #endif // DEVICE_BLUETOOTH_TEST_FAKE_BLUETOOTH_H_
OLDNEW
« no previous file with comments | « device/bluetooth/test/README.md ('k') | device/bluetooth/test/fake_bluetooth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698