| 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_HID_HID_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_HID_HID_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_HID_HID_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_HID_HID_API_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "chrome/browser/extensions/api/api_function.h" | |
| 13 #include "chrome/browser/extensions/api/api_resource_manager.h" | 12 #include "chrome/browser/extensions/api/api_resource_manager.h" |
| 14 #include "chrome/browser/extensions/api/hid/hid_device_resource.h" | 13 #include "chrome/browser/extensions/api/hid/hid_device_resource.h" |
| 15 #include "chrome/browser/extensions/extension_function_histogram_value.h" | 14 #include "chrome/browser/extensions/extension_function_histogram_value.h" |
| 16 #include "chrome/common/extensions/api/hid.h" | 15 #include "chrome/common/extensions/api/hid.h" |
| 16 #include "extensions/browser/api/async_api_function.h" |
| 17 | 17 |
| 18 namespace net { | 18 namespace net { |
| 19 | 19 |
| 20 class IOBuffer; | 20 class IOBuffer; |
| 21 | 21 |
| 22 } // namespace net | 22 } // namespace net |
| 23 | 23 |
| 24 namespace extensions { | 24 namespace extensions { |
| 25 | 25 |
| 26 class HidAsyncApiFunction : public AsyncApiFunction { | 26 class HidAsyncApiFunction : public AsyncApiFunction { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 184 |
| 185 scoped_ptr<base::ListValue> result_; | 185 scoped_ptr<base::ListValue> result_; |
| 186 scoped_ptr<extensions::api::hid::SendFeatureReport::Params> parameters_; | 186 scoped_ptr<extensions::api::hid::SendFeatureReport::Params> parameters_; |
| 187 | 187 |
| 188 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction); | 188 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction); |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace extensions | 191 } // namespace extensions |
| 192 | 192 |
| 193 #endif // CHROME_BROWSER_EXTENSIONS_API_HID_HID_API_H_ | 193 #endif // CHROME_BROWSER_EXTENSIONS_API_HID_HID_API_H_ |
| OLD | NEW |