| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/bluez/bluetooth_adapter_bluez.h" | 5 #include "device/bluetooth/bluez/bluetooth_adapter_bluez.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram.h" |
| 16 #include "base/sequenced_task_runner.h" | 16 #include "base/sequenced_task_runner.h" |
| 17 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
| 18 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
| 19 #include "base/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
| 20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
| 21 #include "device/bluetooth/bluetooth_device.h" | 21 #include "device/bluetooth/bluetooth_device.h" |
| 22 #include "device/bluetooth/bluetooth_discovery_session_outcome.h" | 22 #include "device/bluetooth/bluetooth_discovery_session_outcome.h" |
| 23 #include "device/bluetooth/bluetooth_socket_thread.h" | 23 #include "device/bluetooth/bluetooth_socket_thread.h" |
| 24 #include "device/bluetooth/bluetooth_uuid.h" | 24 #include "device/bluetooth/bluetooth_uuid.h" |
| 25 #include "device/bluetooth/bluez/bluetooth_adapter_profile_bluez.h" | 25 #include "device/bluetooth/bluez/bluetooth_adapter_profile_bluez.h" |
| 26 #include "device/bluetooth/bluez/bluetooth_advertisement_bluez.h" | 26 #include "device/bluetooth/bluez/bluetooth_advertisement_bluez.h" |
| 27 #include "device/bluetooth/bluez/bluetooth_audio_sink_bluez.h" | 27 #include "device/bluetooth/bluez/bluetooth_audio_sink_bluez.h" |
| 28 #include "device/bluetooth/bluez/bluetooth_device_bluez.h" | 28 #include "device/bluetooth/bluez/bluetooth_device_bluez.h" |
| 29 #include "device/bluetooth/bluez/bluetooth_gatt_service_bluez.h" | 29 #include "device/bluetooth/bluez/bluetooth_gatt_service_bluez.h" |
| (...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 DCHECK(bluez::BluezDBusManager::Get()); | 1576 DCHECK(bluez::BluezDBusManager::Get()); |
| 1577 bluez::BluezDBusManager::Get() | 1577 bluez::BluezDBusManager::Get() |
| 1578 ->GetBluetoothGattManagerClient() | 1578 ->GetBluetoothGattManagerClient() |
| 1579 ->RegisterApplication( | 1579 ->RegisterApplication( |
| 1580 object_path_, GetApplicationObjectPath(), | 1580 object_path_, GetApplicationObjectPath(), |
| 1581 BluetoothGattManagerClient::Options(), callback, | 1581 BluetoothGattManagerClient::Options(), callback, |
| 1582 base::Bind(&OnRegisterationErrorCallback, error_callback)); | 1582 base::Bind(&OnRegisterationErrorCallback, error_callback)); |
| 1583 } | 1583 } |
| 1584 | 1584 |
| 1585 } // namespace bluez | 1585 } // namespace bluez |
| OLD | NEW |