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

Side by Side Diff: Source/modules/webusb/USBDevice.h

Issue 1262163003: Add WebUSB bindings and client interface [part 1] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Handle null navigator.frame() without ASSERT 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
« no previous file with comments | « Source/modules/webusb/USBController.cpp ('k') | Source/modules/webusb/USBDevice.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 USBDevice_h
6 #define USBDevice_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h"
10
11 namespace blink {
12
13 class USBControlTransferParameters;
14
15 class USBDevice
16 : public GarbageCollectedFinalized<USBDevice>
17 , public ScriptWrappable {
18 DEFINE_WRAPPERTYPEINFO();
19 public:
20 static USBDevice* create()
21 {
22 return new USBDevice;
23 }
24
25 USBDevice() { }
26
27 virtual ~USBDevice() { }
28
29 String guid() const
30 {
31 ASSERT_NOT_REACHED();
32 return "";
33 }
34
35 DEFINE_INLINE_TRACE() { }
36 };
37
38 } // namespace blink
39
40 #endif // USBDevice_h
OLDNEW
« no previous file with comments | « Source/modules/webusb/USBController.cpp ('k') | Source/modules/webusb/USBDevice.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698