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

Unified Diff: Source/modules/webusb/USBConfiguration.h

Issue 1352283005: Add getConfiguration method to USBDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update webexposed/global-interface-listing-expected.txt. Created 5 years, 3 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: Source/modules/webusb/USBConfiguration.h
diff --git a/Source/modules/webusb/USBConfiguration.h b/Source/modules/webusb/USBConfiguration.h
index 871d95f0c8fe177652002220ab5a0cf7536cdfa7..e4676703faa0b448e910bdf5d625a513d381104f 100644
--- a/Source/modules/webusb/USBConfiguration.h
+++ b/Source/modules/webusb/USBConfiguration.h
@@ -22,6 +22,7 @@ class USBConfiguration
public:
static USBConfiguration* create(const USBDevice*, size_t configurationIndex);
static USBConfiguration* create(const USBDevice*, size_t configurationValue, ExceptionState&);
+ static USBConfiguration* createFromValue(const USBDevice*, uint8_t configurationValue);
USBConfiguration(const USBDevice*, size_t configurationIndex);
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/modules/webusb/USBConfiguration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698