| 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 CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/browser/extensions/api/api_function.h" | 11 #include "chrome/browser/extensions/api/api_function.h" |
| 12 #include "chrome/common/extensions/api/experimental.usb.h" | 12 #include "chrome/common/extensions/api/experimental_usb.h" |
| 13 | 13 |
| 14 namespace extensions { | 14 namespace extensions { |
| 15 | 15 |
| 16 class APIResourceEventNotifier; | 16 class APIResourceEventNotifier; |
| 17 | 17 |
| 18 class UsbFindDeviceFunction : public AsyncAPIFunction { | 18 class UsbFindDeviceFunction : public AsyncAPIFunction { |
| 19 public: | 19 public: |
| 20 UsbFindDeviceFunction(); | 20 UsbFindDeviceFunction(); |
| 21 virtual ~UsbFindDeviceFunction(); | 21 virtual ~UsbFindDeviceFunction(); |
| 22 | 22 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 private: | 96 private: |
| 97 scoped_ptr<extensions::api::experimental_usb::InterruptTransfer::Params> | 97 scoped_ptr<extensions::api::experimental_usb::InterruptTransfer::Params> |
| 98 parameters_; | 98 parameters_; |
| 99 | 99 |
| 100 DECLARE_EXTENSION_FUNCTION_NAME("experimental.usb.interruptTransfer"); | 100 DECLARE_EXTENSION_FUNCTION_NAME("experimental.usb.interruptTransfer"); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace extensions | 103 } // namespace extensions |
| 104 | 104 |
| 105 #endif // CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_ | 105 #endif // CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_ |
| OLD | NEW |