| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "device/bluetooth/bluetooth_adapter_profile_bluez.h" | 5 #include "device/bluetooth/bluez/bluetooth_adapter_profile_bluez.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "device/bluetooth/bluetooth_adapter.h" | 11 #include "device/bluetooth/bluetooth_adapter.h" |
| 12 #include "device/bluetooth/bluetooth_adapter_bluez.h" | |
| 13 #include "device/bluetooth/bluetooth_adapter_factory.h" | 12 #include "device/bluetooth/bluetooth_adapter_factory.h" |
| 14 #include "device/bluetooth/bluetooth_uuid.h" | 13 #include "device/bluetooth/bluetooth_uuid.h" |
| 14 #include "device/bluetooth/bluez/bluetooth_adapter_bluez.h" |
| 15 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" | 15 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" |
| 16 #include "device/bluetooth/dbus/bluez_dbus_manager.h" | 16 #include "device/bluetooth/dbus/bluez_dbus_manager.h" |
| 17 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h" | 17 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h" |
| 18 #include "device/bluetooth/dbus/fake_bluetooth_agent_manager_client.h" | 18 #include "device/bluetooth/dbus/fake_bluetooth_agent_manager_client.h" |
| 19 #include "device/bluetooth/dbus/fake_bluetooth_device_client.h" | 19 #include "device/bluetooth/dbus/fake_bluetooth_device_client.h" |
| 20 #include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h" | 20 #include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 22 | 22 |
| 23 using device::BluetoothAdapter; | 23 using device::BluetoothAdapter; |
| 24 using device::BluetoothUUID; | 24 using device::BluetoothUUID; |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 base::Unretained(this))); | 381 base::Unretained(this))); |
| 382 | 382 |
| 383 message_loop_.RunUntilIdle(); | 383 message_loop_.RunUntilIdle(); |
| 384 | 384 |
| 385 EXPECT_FALSE(profile_user_ptr_); | 385 EXPECT_FALSE(profile_user_ptr_); |
| 386 EXPECT_EQ(0U, success_callback_count_); | 386 EXPECT_EQ(0U, success_callback_count_); |
| 387 EXPECT_EQ(2U, error_callback_count_); | 387 EXPECT_EQ(2U, error_callback_count_); |
| 388 } | 388 } |
| 389 | 389 |
| 390 } // namespace bluez | 390 } // namespace bluez |
| OLD | NEW |