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

Side by Side Diff: public/platform/modules/webusb/WebUSBDeviceInfo.h

Issue 1264483005: Add WebUSB bindings and client interface [part 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: enum class 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebUSBDeviceInfo_h
6 #define WebUSBDeviceInfo_h
7
8 #include "public/platform/WebString.h"
9
10 namespace blink {
11
12 struct WebUSBDeviceInfo {
13 WebString guid;
14 uint8_t usbVersionMajor;
15 uint8_t usbVersionMinor;
16 uint8_t usbVersionSubminor;
17 uint8_t deviceClass;
18 uint8_t deviceSubclass;
19 uint8_t deviceProtocol;
20 uint16_t vendorID;
21 uint16_t productID;
22 uint8_t deviceVersionMajor;
23 uint8_t deviceVersionMinor;
24 uint8_t deviceVersionSubminor;
25 WebString manufacturerName;
26 WebString productName;
27 WebString serialNumber;
28 };
29
30 } // namespace blink
31
32 #endif // WebUSBDeviceInfo_h
OLDNEW
« no previous file with comments | « public/platform/modules/webusb/WebUSBDevice.h ('k') | public/platform/modules/webusb/WebUSBError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698