| 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_USB_USB_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_USB_USB_API_H_ |
| 6 #define EXTENSIONS_BROWSER_API_USB_USB_API_H_ | 6 #define EXTENSIONS_BROWSER_API_USB_USB_API_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <string> | 11 #include <string> |
| 9 #include <vector> | 12 #include <vector> |
| 10 | 13 |
| 14 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 13 #include "device/usb/usb_device.h" | 17 #include "device/usb/usb_device.h" |
| 14 #include "device/usb/usb_device_filter.h" | 18 #include "device/usb/usb_device_filter.h" |
| 15 #include "device/usb/usb_device_handle.h" | 19 #include "device/usb/usb_device_handle.h" |
| 16 #include "extensions/browser/api/api_resource_manager.h" | 20 #include "extensions/browser/api/api_resource_manager.h" |
| 17 #include "extensions/browser/extension_function.h" | 21 #include "extensions/browser/extension_function.h" |
| 18 #include "extensions/common/api/usb.h" | 22 #include "extensions/common/api/usb.h" |
| 19 #include "net/base/io_buffer.h" | 23 #include "net/base/io_buffer.h" |
| 20 | 24 |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 | 363 |
| 360 void OnComplete(bool success); | 364 void OnComplete(bool success); |
| 361 | 365 |
| 362 scoped_ptr<extensions::api::usb::ResetDevice::Params> parameters_; | 366 scoped_ptr<extensions::api::usb::ResetDevice::Params> parameters_; |
| 363 | 367 |
| 364 DISALLOW_COPY_AND_ASSIGN(UsbResetDeviceFunction); | 368 DISALLOW_COPY_AND_ASSIGN(UsbResetDeviceFunction); |
| 365 }; | 369 }; |
| 366 } // namespace extensions | 370 } // namespace extensions |
| 367 | 371 |
| 368 #endif // EXTENSIONS_BROWSER_API_USB_USB_API_H_ | 372 #endif // EXTENSIONS_BROWSER_API_USB_USB_API_H_ |
| OLD | NEW |