Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: device/bluetooth/bluez/bluetooth_adapter_bluez.cc

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/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/thread_task_runner_handle.h"
20 #include "build/build_config.h" 20 #include "build/build_config.h"
21 #include "device/bluetooth/bluetooth_adapter_profile_bluez.h"
22 #include "device/bluetooth/bluetooth_advertisement_bluez.h"
23 #include "device/bluetooth/bluetooth_audio_sink_bluez.h"
24 #include "device/bluetooth/bluetooth_device.h" 21 #include "device/bluetooth/bluetooth_device.h"
25 #include "device/bluetooth/bluetooth_device_bluez.h"
26 #include "device/bluetooth/bluetooth_discovery_session_outcome.h" 22 #include "device/bluetooth/bluetooth_discovery_session_outcome.h"
27 #include "device/bluetooth/bluetooth_pairing_bluez.h"
28 #include "device/bluetooth/bluetooth_socket_bluez.h"
29 #include "device/bluetooth/bluetooth_socket_thread.h" 23 #include "device/bluetooth/bluetooth_socket_thread.h"
30 #include "device/bluetooth/bluetooth_uuid.h" 24 #include "device/bluetooth/bluetooth_uuid.h"
25 #include "device/bluetooth/bluez/bluetooth_adapter_profile_bluez.h"
26 #include "device/bluetooth/bluez/bluetooth_advertisement_bluez.h"
27 #include "device/bluetooth/bluez/bluetooth_audio_sink_bluez.h"
28 #include "device/bluetooth/bluez/bluetooth_device_bluez.h"
29 #include "device/bluetooth/bluez/bluetooth_pairing_bluez.h"
30 #include "device/bluetooth/bluez/bluetooth_socket_bluez.h"
31 #include "device/bluetooth/dbus/bluetooth_adapter_client.h" 31 #include "device/bluetooth/dbus/bluetooth_adapter_client.h"
32 #include "device/bluetooth/dbus/bluetooth_agent_manager_client.h" 32 #include "device/bluetooth/dbus/bluetooth_agent_manager_client.h"
33 #include "device/bluetooth/dbus/bluetooth_agent_service_provider.h" 33 #include "device/bluetooth/dbus/bluetooth_agent_service_provider.h"
34 #include "device/bluetooth/dbus/bluetooth_device_client.h" 34 #include "device/bluetooth/dbus/bluetooth_device_client.h"
35 #include "device/bluetooth/dbus/bluetooth_input_client.h" 35 #include "device/bluetooth/dbus/bluetooth_input_client.h"
36 #include "device/bluetooth/dbus/bluez_dbus_manager.h" 36 #include "device/bluetooth/dbus/bluez_dbus_manager.h"
37 #include "third_party/cros_system_api/dbus/service_constants.h" 37 #include "third_party/cros_system_api/dbus/service_constants.h"
38 38
39 #if defined(OS_CHROMEOS) 39 #if defined(OS_CHROMEOS)
40 #include "chromeos/system/devicetype.h" 40 #include "chromeos/system/devicetype.h"
(...skipping 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 1449
1450 // If the queued request resulted in a pending call, then let it 1450 // If the queued request resulted in a pending call, then let it
1451 // asynchonously process the remaining queued requests once the pending 1451 // asynchonously process the remaining queued requests once the pending
1452 // call returns. 1452 // call returns.
1453 if (discovery_request_pending_) 1453 if (discovery_request_pending_)
1454 return; 1454 return;
1455 } 1455 }
1456 } 1456 }
1457 1457
1458 } // namespace bluez 1458 } // namespace bluez
OLDNEW
« no previous file with comments | « device/bluetooth/bluez/bluetooth_adapter_bluez.h ('k') | device/bluetooth/bluez/bluetooth_adapter_profile_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698