OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_device_experimental_chromeos.h" | 5 #include "device/bluetooth/bluetooth_device_experimental_chromeos.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "base/string_util.h" | |
10 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/strings/string_util.h" |
11 #include "chromeos/dbus/dbus_thread_manager.h" | 11 #include "chromeos/dbus/dbus_thread_manager.h" |
12 #include "chromeos/dbus/experimental_bluetooth_adapter_client.h" | 12 #include "chromeos/dbus/experimental_bluetooth_adapter_client.h" |
13 #include "chromeos/dbus/experimental_bluetooth_agent_manager_client.h" | 13 #include "chromeos/dbus/experimental_bluetooth_agent_manager_client.h" |
14 #include "chromeos/dbus/experimental_bluetooth_agent_service_provider.h" | 14 #include "chromeos/dbus/experimental_bluetooth_agent_service_provider.h" |
15 #include "chromeos/dbus/experimental_bluetooth_device_client.h" | 15 #include "chromeos/dbus/experimental_bluetooth_device_client.h" |
16 #include "chromeos/dbus/experimental_bluetooth_input_client.h" | 16 #include "chromeos/dbus/experimental_bluetooth_input_client.h" |
17 #include "dbus/bus.h" | 17 #include "dbus/bus.h" |
18 #include "device/bluetooth/bluetooth_adapter_experimental_chromeos.h" | 18 #include "device/bluetooth/bluetooth_adapter_experimental_chromeos.h" |
19 #include "device/bluetooth/bluetooth_profile_experimental_chromeos.h" | 19 #include "device/bluetooth/bluetooth_profile_experimental_chromeos.h" |
20 #include "device/bluetooth/bluetooth_socket.h" | 20 #include "device/bluetooth/bluetooth_socket.h" |
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 const std::string& error_message) { | 840 const std::string& error_message) { |
841 BluetoothProfileExperimentalChromeOS* profile_chromeos = | 841 BluetoothProfileExperimentalChromeOS* profile_chromeos = |
842 static_cast<BluetoothProfileExperimentalChromeOS*>(profile); | 842 static_cast<BluetoothProfileExperimentalChromeOS*>(profile); |
843 VLOG(1) << object_path_.value() << ": Profile connection failed: " | 843 VLOG(1) << object_path_.value() << ": Profile connection failed: " |
844 << profile_chromeos->uuid() << ": " | 844 << profile_chromeos->uuid() << ": " |
845 << error_name << ": " << error_message; | 845 << error_name << ": " << error_message; |
846 error_callback.Run(); | 846 error_callback.Run(); |
847 } | 847 } |
848 | 848 |
849 } // namespace chromeos | 849 } // namespace chromeos |
OLD | NEW |