| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SOCKET_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_ |
| 7 | 7 |
| 8 #include <WinSock2.h> | 8 #include <WinSock2.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/sequenced_task_runner.h" |
| 16 #include "device/bluetooth/bluetooth_adapter.h" | 17 #include "device/bluetooth/bluetooth_adapter.h" |
| 17 #include "device/bluetooth/bluetooth_service_record_win.h" | 18 #include "device/bluetooth/bluetooth_service_record_win.h" |
| 18 #include "device/bluetooth/bluetooth_socket.h" | 19 #include "device/bluetooth/bluetooth_socket.h" |
| 19 #include "device/bluetooth/bluetooth_socket_net.h" | 20 #include "device/bluetooth/bluetooth_socket_net.h" |
| 20 #include "device/bluetooth/bluetooth_uuid.h" | 21 #include "device/bluetooth/bluetooth_uuid.h" |
| 21 #include "net/base/ip_endpoint.h" | 22 #include "net/base/ip_endpoint.h" |
| 22 #include "net/socket/tcp_socket.h" | 23 #include "net/socket/tcp_socket.h" |
| 23 | 24 |
| 24 namespace device { | 25 namespace device { |
| 25 | 26 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 std::unique_ptr<ServiceRegData> service_reg_data_; | 96 std::unique_ptr<ServiceRegData> service_reg_data_; |
| 96 std::unique_ptr<net::TCPSocket> accept_socket_; | 97 std::unique_ptr<net::TCPSocket> accept_socket_; |
| 97 net::IPEndPoint accept_address_; | 98 net::IPEndPoint accept_address_; |
| 98 | 99 |
| 99 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketWin); | 100 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketWin); |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } // namespace device | 103 } // namespace device |
| 103 | 104 |
| 104 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_ | 105 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_ |
| OLD | NEW |