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

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

Issue 1252913014: WebUSB bindings part 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update expeced interface listing Created 5 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
« no previous file with comments | « Source/modules/webusb/USBConfiguration.idl ('k') | Source/modules/webusb/USBDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webusb/USBDevice.h
diff --git a/Source/modules/webusb/USBDevice.h b/Source/modules/webusb/USBDevice.h
index 95f9c283a0e9a2dfef6bea022d7d635d6de734da..8738ea3097e25899e903d3678b36a35162f985fa 100644
--- a/Source/modules/webusb/USBDevice.h
+++ b/Source/modules/webusb/USBDevice.h
@@ -12,6 +12,8 @@
namespace blink {
+class USBConfiguration;
+
class USBDevice
: public GarbageCollectedFinalized<USBDevice>
, public ScriptWrappable {
@@ -48,6 +50,7 @@ public:
String manufacturerName() const { return info().manufacturerName; }
String productName() const { return info().productName; }
String serialNumber() const { return info().serialNumber; }
+ HeapVector<Member<USBConfiguration>> configurations() const;
DEFINE_INLINE_TRACE() { }
« no previous file with comments | « Source/modules/webusb/USBConfiguration.idl ('k') | Source/modules/webusb/USBDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698