| 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 CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_SOCKET_BLUETOOTH_SOCKET_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_SOCKET_BLUETOOTH_SOCKET_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_SOCKET_BLUETOOTH_SOCKET_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_SOCKET_BLUETOOTH_SOCKET_API_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api_socket.h" | 13 #include "chrome/browser/extensions/api/bluetooth_socket/bluetooth_api_socket.h" |
| 14 #include "chrome/common/extensions/api/bluetooth_socket.h" | 14 #include "chrome/common/extensions/api/bluetooth_socket.h" |
| 15 #include "device/bluetooth/bluetooth_adapter.h" | 15 #include "device/bluetooth/bluetooth_adapter.h" |
| 16 #include "extensions/browser/api/api_resource_manager.h" | 16 #include "extensions/browser/api/api_resource_manager.h" |
| 17 #include "extensions/browser/api/async_api_function.h" | 17 #include "extensions/browser/api/async_api_function.h" |
| 18 #include "extensions/browser/extension_function.h" | 18 #include "extensions/browser/extension_function.h" |
| 19 #include "extensions/browser/extension_function_histogram_value.h" | 19 #include "extensions/browser/extension_function_histogram_value.h" |
| 20 | 20 |
| 21 namespace device { | 21 namespace device { |
| 22 class BluetoothSocket; | 22 class BluetoothSocket; |
| 23 } | 23 } |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 | 348 |
| 349 // BluetoothSocketAsyncApiFunction: | 349 // BluetoothSocketAsyncApiFunction: |
| 350 virtual bool Prepare() OVERRIDE; | 350 virtual bool Prepare() OVERRIDE; |
| 351 virtual void Work() OVERRIDE; | 351 virtual void Work() OVERRIDE; |
| 352 }; | 352 }; |
| 353 | 353 |
| 354 } // namespace api | 354 } // namespace api |
| 355 } // namespace extensions | 355 } // namespace extensions |
| 356 | 356 |
| 357 #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_SOCKET_BLUETOOTH_SOCKET_API_H
_ | 357 #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_SOCKET_BLUETOOTH_SOCKET_API_H
_ |
| OLD | NEW |