OLD | NEW |
---|---|
(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 | |
scheib
2017/04/08 00:59:50
Now that bluetooth/test has a few parts in it, let
ortuno
2017/04/10 01:47:49
We already go into a lot of detail about the diffe
scheib
2017/04/10 21:52:31
At this point I think there's enough test specific
ortuno
2017/04/12 05:49:06
Moved all the testing bits to test/README.md
| |
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 SetLEAvailability(bool available, | |
24 const SetLEAvailabilityCallback& callback) override; | |
25 }; | |
26 | |
27 } // namespace bluetooth | |
28 | |
29 #endif // DEVICE_BLUETOOTH_TEST_FAKE_BLUETOOTH_H_ | |
OLD | NEW |