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> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "extensions/browser/api/api_resource_manager.h" | 15 #include "extensions/browser/api/api_resource_manager.h" |
16 #include "extensions/browser/api/hid/hid_connection_resource.h" | 16 #include "extensions/browser/api/hid/hid_connection_resource.h" |
17 #include "extensions/browser/api/hid/hid_device_manager.h" | 17 #include "extensions/browser/api/hid/hid_device_manager.h" |
18 #include "extensions/browser/extension_function.h" | 18 #include "extensions/browser/extension_function.h" |
19 #include "extensions/common/api/hid.h" | 19 #include "extensions/common/api/hid.h" |
20 | 20 |
21 namespace device { | 21 namespace device { |
22 class HidConnection; | 22 class HidConnection; |
23 class HidDeviceInfo; | 23 class HidDeviceInfo; |
24 class HidService; | |
25 } // namespace device | 24 } // namespace device |
26 | 25 |
27 namespace net { | 26 namespace net { |
28 class IOBuffer; | 27 class IOBuffer; |
29 } // namespace net | 28 } // namespace net |
30 | 29 |
31 namespace extensions { | 30 namespace extensions { |
32 | 31 |
33 class DevicePermissionsPrompt; | 32 class DevicePermissionsPrompt; |
34 | 33 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 void OnFinished(bool success); | 205 void OnFinished(bool success); |
207 | 206 |
208 std::unique_ptr<api::hid::SendFeatureReport::Params> parameters_; | 207 std::unique_ptr<api::hid::SendFeatureReport::Params> parameters_; |
209 | 208 |
210 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction); | 209 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction); |
211 }; | 210 }; |
212 | 211 |
213 } // namespace extensions | 212 } // namespace extensions |
214 | 213 |
215 #endif // EXTENSIONS_BROWSER_API_HID_HID_API_H_ | 214 #endif // EXTENSIONS_BROWSER_API_HID_HID_API_H_ |
OLD | NEW |