| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_ARC_TEST_FAKE_BLUETOOTH_INSTANCE_H_ | 5 #ifndef COMPONENTS_ARC_TEST_FAKE_BLUETOOTH_INSTANCE_H_ |
| 6 #define COMPONENTS_ARC_TEST_FAKE_BLUETOOTH_INSTANCE_H_ | 6 #define COMPONENTS_ARC_TEST_FAKE_BLUETOOTH_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_vector.h" | |
| 13 #include "components/arc/common/bluetooth.mojom.h" | 12 #include "components/arc/common/bluetooth.mojom.h" |
| 14 #include "mojo/public/cpp/bindings/binding.h" | 13 #include "mojo/public/cpp/bindings/binding.h" |
| 15 | 14 |
| 16 namespace device { | 15 namespace device { |
| 17 class BluetoothUUID; | 16 class BluetoothUUID; |
| 18 } | 17 } |
| 19 | 18 |
| 20 namespace arc { | 19 namespace arc { |
| 21 | 20 |
| 22 class FakeBluetoothInstance : public mojom::BluetoothInstance { | 21 class FakeBluetoothInstance : public mojom::BluetoothInstance { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 std::vector<std::vector<mojom::BluetoothPropertyPtr>> device_found_data_; | 147 std::vector<std::vector<mojom::BluetoothPropertyPtr>> device_found_data_; |
| 149 std::vector<std::unique_ptr<LEDeviceFoundData>> le_device_found_data_; | 148 std::vector<std::unique_ptr<LEDeviceFoundData>> le_device_found_data_; |
| 150 std::vector<std::unique_ptr<GattDBResult>> gatt_db_result_; | 149 std::vector<std::unique_ptr<GattDBResult>> gatt_db_result_; |
| 151 | 150 |
| 152 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothInstance); | 151 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothInstance); |
| 153 }; | 152 }; |
| 154 | 153 |
| 155 } // namespace arc | 154 } // namespace arc |
| 156 | 155 |
| 157 #endif // COMPONENTS_ARC_TEST_FAKE_BLUETOOTH_INSTANCE_H_ | 156 #endif // COMPONENTS_ARC_TEST_FAKE_BLUETOOTH_INSTANCE_H_ |
| OLD | NEW |