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

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

Issue 1855423002: Make USB a ContextLifecycleObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch back to ContextLifetimeObservers. Created 4 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef USBDevice_h 5 #ifndef USBDevice_h
6 #define USBDevice_h 6 #define USBDevice_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "bindings/modules/v8/UnionTypesModules.h" 10 #include "bindings/modules/v8/UnionTypesModules.h"
11 #include "core/dom/ContextLifecycleObserver.h" 11 #include "core/dom/ContextLifecycleObserver.h"
12 #include "core/dom/Document.h"
13 #include "core/page/PageLifecycleObserver.h" 12 #include "core/page/PageLifecycleObserver.h"
14 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
15 #include "public/platform/modules/webusb/WebUSBDevice.h" 14 #include "public/platform/modules/webusb/WebUSBDevice.h"
16 #include "public/platform/modules/webusb/WebUSBDeviceInfo.h" 15 #include "public/platform/modules/webusb/WebUSBDeviceInfo.h"
17 #include "wtf/BitVector.h" 16 #include "wtf/BitVector.h"
18 #include "wtf/Vector.h" 17 #include "wtf/Vector.h"
19 18
20 namespace blink { 19 namespace blink {
21 20
22 class ScriptPromiseResolver; 21 class ScriptPromiseResolver;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 WTF::BitVector m_claimedInterfaces; 115 WTF::BitVector m_claimedInterfaces;
117 WTF::BitVector m_interfaceStateChangeInProgress; 116 WTF::BitVector m_interfaceStateChangeInProgress;
118 WTF::Vector<size_t> m_selectedAlternates; 117 WTF::Vector<size_t> m_selectedAlternates;
119 WTF::BitVector m_inEndpoints; 118 WTF::BitVector m_inEndpoints;
120 WTF::BitVector m_outEndpoints; 119 WTF::BitVector m_outEndpoints;
121 }; 120 };
122 121
123 } // namespace blink 122 } // namespace blink
124 123
125 #endif // USBDevice_h 124 #endif // USBDevice_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698