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

Side by Side Diff: chrome/browser/extensions/api/usb/usb_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 (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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/extensions/api/api_function.h"
14 #include "chrome/browser/extensions/api/api_resource_manager.h" 13 #include "chrome/browser/extensions/api/api_resource_manager.h"
15 #include "chrome/browser/usb/usb_device.h" 14 #include "chrome/browser/usb/usb_device.h"
16 #include "chrome/browser/usb/usb_device_handle.h" 15 #include "chrome/browser/usb/usb_device_handle.h"
17 #include "chrome/common/extensions/api/usb.h" 16 #include "chrome/common/extensions/api/usb.h"
17 #include "extensions/browser/api/async_api_function.h"
18 #include "net/base/io_buffer.h" 18 #include "net/base/io_buffer.h"
19 19
20 class UsbDevice; 20 class UsbDevice;
21 class UsbDeviceHandle; 21 class UsbDeviceHandle;
22 class UsbService; 22 class UsbService;
23 23
24 namespace extensions { 24 namespace extensions {
25 25
26 class UsbDeviceResource; 26 class UsbDeviceResource;
27 27
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 308
309 virtual bool Prepare() OVERRIDE; 309 virtual bool Prepare() OVERRIDE;
310 virtual void AsyncWorkStart() OVERRIDE; 310 virtual void AsyncWorkStart() OVERRIDE;
311 311
312 private: 312 private:
313 scoped_ptr<extensions::api::usb::ResetDevice::Params> parameters_; 313 scoped_ptr<extensions::api::usb::ResetDevice::Params> parameters_;
314 }; 314 };
315 } // namespace extensions 315 } // namespace extensions
316 316
317 #endif // CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_ 317 #endif // CHROME_BROWSER_EXTENSIONS_API_USB_USB_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/storage/storage_api.cc ('k') | chrome/browser/extensions/api/usb/usb_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698