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

Unified Diff: device/usb/usb_device_handle.h

Issue 826283002: Add support for sending a USB SET_CONFIGURATION request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: device/usb/usb_device_handle.h
diff --git a/device/usb/usb_device_handle.h b/device/usb/usb_device_handle.h
index 812512a5c1d19f295387cd9ba64b725d7b9cd54f..7098d6809ee8a1eb47845b23432c7e901c9e413b 100644
--- a/device/usb/usb_device_handle.h
+++ b/device/usb/usb_device_handle.h
@@ -51,6 +51,7 @@ class UsbDeviceHandle : public base::RefCountedThreadSafe<UsbDeviceHandle> {
// Device manipulation operations. These methods are blocking and must be
// called on FILE thread.
+ virtual bool SetConfiguration(int configuration_value) = 0;
virtual bool ClaimInterface(int interface_number) = 0;
virtual bool ReleaseInterface(int interface_number) = 0;
virtual bool SetInterfaceAlternateSetting(int interface_number,

Powered by Google App Engine
This is Rietveld 408576698