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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_PROFILE_BLUEZ_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_PROFILE_BLUEZ_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_PROFILE_BLUEZ_H_ | 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_PROFILE_BLUEZ_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "device/bluetooth/bluetooth_adapter_bluez.h" | |
15 #include "device/bluetooth/bluetooth_export.h" | 14 #include "device/bluetooth/bluetooth_export.h" |
| 15 #include "device/bluetooth/bluez/bluetooth_adapter_bluez.h" |
16 #include "device/bluetooth/dbus/bluetooth_profile_manager_client.h" | 16 #include "device/bluetooth/dbus/bluetooth_profile_manager_client.h" |
17 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" | 17 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" |
18 | 18 |
19 namespace device { | 19 namespace device { |
20 class BluetoothUUID; | 20 class BluetoothUUID; |
21 } // namespace device | 21 } // namespace device |
22 | 22 |
23 namespace bluez { | 23 namespace bluez { |
24 | 24 |
25 // The BluetoothAdapterProfileBlueZ class implements a multiplexing | 25 // The BluetoothAdapterProfileBlueZ class implements a multiplexing |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 // Note: This should remain the last member so it'll be destroyed and | 108 // Note: This should remain the last member so it'll be destroyed and |
109 // invalidate its weak pointers before any other members are destroyed. | 109 // invalidate its weak pointers before any other members are destroyed. |
110 base::WeakPtrFactory<BluetoothAdapterProfileBlueZ> weak_ptr_factory_; | 110 base::WeakPtrFactory<BluetoothAdapterProfileBlueZ> weak_ptr_factory_; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterProfileBlueZ); | 112 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterProfileBlueZ); |
113 }; | 113 }; |
114 | 114 |
115 } // namespace bluez | 115 } // namespace bluez |
116 | 116 |
117 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_PROFILE_BLUEZ_H_ | 117 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_PROFILE_BLUEZ_H_ |
OLD | NEW |