Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Side by Side Diff: chrome/browser/extensions/api/hid/hid_api.h

Issue 177003015: Pull AsyncApiFunction out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for storage_api Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.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_connection_resource.h" 13 #include "chrome/browser/extensions/api/hid/hid_connection_resource.h"
15 #include "chrome/browser/extensions/api/hid/hid_device_manager.h" 14 #include "chrome/browser/extensions/api/hid/hid_device_manager.h"
16 #include "chrome/browser/extensions/extension_function_histogram_value.h" 15 #include "chrome/browser/extensions/extension_function_histogram_value.h"
17 #include "chrome/common/extensions/api/hid.h" 16 #include "chrome/common/extensions/api/hid.h"
17 #include "extensions/browser/api/async_api_function.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 class IOBufferWithSize; 21 class IOBufferWithSize;
22 22
23 } // namespace net 23 } // namespace net
24 24
25 namespace extensions { 25 namespace extensions {
26 26
27 class HidAsyncApiFunction : public AsyncApiFunction { 27 class HidAsyncApiFunction : public AsyncApiFunction {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 scoped_ptr<base::ListValue> result_; 187 scoped_ptr<base::ListValue> result_;
188 scoped_ptr<extensions::api::hid::SendFeatureReport::Params> parameters_; 188 scoped_ptr<extensions::api::hid::SendFeatureReport::Params> parameters_;
189 189
190 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction); 190 DISALLOW_COPY_AND_ASSIGN(HidSendFeatureReportFunction);
191 }; 191 };
192 192
193 } // namespace extensions 193 } // namespace extensions
194 194
195 #endif // CHROME_BROWSER_EXTENSIONS_API_HID_HID_API_H_ 195 #endif // CHROME_BROWSER_EXTENSIONS_API_HID_HID_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/gcm/gcm_api.cc ('k') | chrome/browser/extensions/api/hid/hid_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698