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

Unified Diff: chrome/browser/extensions/api/usb/usb_device_resource.h

Issue 10824298: Adding tests for USB extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MSVC fix for warning about the old version of their compiler being broken. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/usb/usb_device_resource.h
diff --git a/chrome/browser/extensions/api/usb/usb_device_resource.h b/chrome/browser/extensions/api/usb/usb_device_resource.h
index a6582427998ca0f0ccf76660ccb3a5eaac09ed89..9b78c8753783956c69007e6af76a3b9aa6ace804 100644
--- a/chrome/browser/extensions/api/usb/usb_device_resource.h
+++ b/chrome/browser/extensions/api/usb/usb_device_resource.h
@@ -32,6 +32,8 @@ class UsbDeviceResource : public ApiResource {
UsbDeviceResource(ApiResourceEventNotifier* notifier, UsbDevice* device);
virtual ~UsbDeviceResource();
+ void Close();
+
// All of the *Transfer variants that are exposed here adapt their arguments
// for the underlying UsbDevice's interface and invoke the corresponding
// methods with completion callbacks that call OnTransferComplete on the event
« no previous file with comments | « chrome/browser/extensions/api/usb/usb_apitest.cc ('k') | chrome/browser/extensions/api/usb/usb_device_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698