OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_BLUETOOTH_SOCKET_BLUETOOTH_API_SOCKET_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_SOCKET_BLUETOOTH_API_SOCKET_H_ |
6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_SOCKET_BLUETOOTH_API_SOCKET_H_ | 6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_SOCKET_BLUETOOTH_API_SOCKET_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "device/bluetooth/bluetooth_device.h" | 11 #include "device/bluetooth/bluetooth_device.h" |
11 #include "device/bluetooth/bluetooth_socket.h" | 12 #include "device/bluetooth/bluetooth_socket.h" |
12 #include "device/bluetooth/bluetooth_uuid.h" | 13 #include "device/bluetooth/bluetooth_uuid.h" |
13 #include "extensions/browser/api/api_resource.h" | 14 #include "extensions/browser/api/api_resource.h" |
14 #include "extensions/browser/api/api_resource_manager.h" | 15 #include "extensions/browser/api/api_resource_manager.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 class IOBuffer; | 18 class IOBuffer; |
18 } // namespace net | 19 } // namespace net |
19 | 20 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 153 |
153 // Flag indicating whether a socket is connected. | 154 // Flag indicating whether a socket is connected. |
154 bool connected_; | 155 bool connected_; |
155 | 156 |
156 DISALLOW_COPY_AND_ASSIGN(BluetoothApiSocket); | 157 DISALLOW_COPY_AND_ASSIGN(BluetoothApiSocket); |
157 }; | 158 }; |
158 | 159 |
159 } // namespace extensions | 160 } // namespace extensions |
160 | 161 |
161 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_SOCKET_BLUETOOTH_API_SOCKET_H_ | 162 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_SOCKET_BLUETOOTH_API_SOCKET_H_ |
OLD | NEW |