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 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_SOCKET_BLUEZ_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_SOCKET_BLUEZ_H_ |
6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_SOCKET_BLUEZ_H_ | 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_SOCKET_BLUEZ_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
| 14 #include "base/sequenced_task_runner.h" |
14 #include "dbus/object_path.h" | 15 #include "dbus/object_path.h" |
15 #include "device/bluetooth/bluetooth_adapter.h" | 16 #include "device/bluetooth/bluetooth_adapter.h" |
16 #include "device/bluetooth/bluetooth_export.h" | 17 #include "device/bluetooth/bluetooth_export.h" |
17 #include "device/bluetooth/bluetooth_socket.h" | 18 #include "device/bluetooth/bluetooth_socket.h" |
18 #include "device/bluetooth/bluetooth_socket_net.h" | 19 #include "device/bluetooth/bluetooth_socket_net.h" |
19 #include "device/bluetooth/bluetooth_uuid.h" | 20 #include "device/bluetooth/bluetooth_uuid.h" |
20 #include "device/bluetooth/dbus/bluetooth_profile_manager_client.h" | 21 #include "device/bluetooth/dbus/bluetooth_profile_manager_client.h" |
21 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" | 22 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" |
22 | 23 |
23 namespace bluez { | 24 namespace bluez { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 bool cancelled; | 188 bool cancelled; |
188 }; | 189 }; |
189 std::queue<linked_ptr<ConnectionRequest>> connection_request_queue_; | 190 std::queue<linked_ptr<ConnectionRequest>> connection_request_queue_; |
190 | 191 |
191 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketBlueZ); | 192 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketBlueZ); |
192 }; | 193 }; |
193 | 194 |
194 } // namespace bluez | 195 } // namespace bluez |
195 | 196 |
196 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_SOCKET_BLUEZ_H_ | 197 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_SOCKET_BLUEZ_H_ |
OLD | NEW |