OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ | 5 #ifndef DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ |
6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ | 6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "build/build_config.h" |
12 #include "device/bluetooth/bluetooth_adapter.h" | 13 #include "device/bluetooth/bluetooth_adapter.h" |
13 #include "device/bluetooth/bluetooth_audio_sink.h" | 14 #include "device/bluetooth/bluetooth_audio_sink.h" |
14 #include "device/bluetooth/bluetooth_device.h" | 15 #include "device/bluetooth/bluetooth_device.h" |
15 #include "device/bluetooth/bluetooth_discovery_session.h" | 16 #include "device/bluetooth/bluetooth_discovery_session.h" |
16 #include "device/bluetooth/test/mock_bluetooth_device.h" | 17 #include "device/bluetooth/test/mock_bluetooth_device.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
18 | 19 |
19 namespace device { | 20 namespace device { |
20 | 21 |
21 class MockBluetoothAdapter : public BluetoothAdapter { | 22 class MockBluetoothAdapter : public BluetoothAdapter { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 138 |
138 MOCK_METHOD1(RemovePairingDelegateInternal, | 139 MOCK_METHOD1(RemovePairingDelegateInternal, |
139 void(BluetoothDevice::PairingDelegate* pairing_delegate)); | 140 void(BluetoothDevice::PairingDelegate* pairing_delegate)); |
140 | 141 |
141 ScopedVector<MockBluetoothDevice> mock_devices_; | 142 ScopedVector<MockBluetoothDevice> mock_devices_; |
142 }; | 143 }; |
143 | 144 |
144 } // namespace device | 145 } // namespace device |
145 | 146 |
146 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ | 147 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ |
OLD | NEW |