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_HID_HID_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_HID_HID_API_H_ |
6 #define EXTENSIONS_BROWSER_API_HID_HID_API_H_ | 6 #define EXTENSIONS_BROWSER_API_HID_HID_API_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
| 12 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
12 #include "extensions/browser/api/api_resource_manager.h" | 15 #include "extensions/browser/api/api_resource_manager.h" |
13 #include "extensions/browser/api/hid/hid_connection_resource.h" | 16 #include "extensions/browser/api/hid/hid_connection_resource.h" |
14 #include "extensions/browser/api/hid/hid_device_manager.h" | 17 #include "extensions/browser/api/hid/hid_device_manager.h" |
15 #include "extensions/browser/extension_function.h" | 18 #include "extensions/browser/extension_function.h" |
16 #include "extensions/common/api/hid.h" | 19 #include "extensions/common/api/hid.h" |
17 | 20 |
18 namespace device { | 21 namespace device { |
19 class HidConnection; | 22 class HidConnection; |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 void OnFinished(bool success); | 207 void OnFinished(bool success); |
205 | 208 |
206 scoped_ptr<api::hid::SendFeatureReport::Params> parameters_; | 209 scoped_ptr<api::hid::SendFeatureReport::Params> parameters_; |
207 | 210 |
208 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction); | 211 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction); |
209 }; | 212 }; |
210 | 213 |
211 } // namespace extensions | 214 } // namespace extensions |
212 | 215 |
213 #endif // EXTENSIONS_BROWSER_API_HID_HID_API_H_ | 216 #endif // EXTENSIONS_BROWSER_API_HID_HID_API_H_ |
OLD | NEW |