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

Side by Side Diff: third_party/WebKit/Source/modules/webusb/USB.cpp

Issue 1910373002: Create platform/mojo and move MojoHelper.h there (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and add mojo/DEPS 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 #include "modules/webusb/USB.h" 5 #include "modules/webusb/USB.h"
6 6
7 #include "bindings/core/v8/ScriptPromise.h" 7 #include "bindings/core/v8/ScriptPromise.h"
8 #include "bindings/core/v8/ScriptPromiseResolver.h" 8 #include "bindings/core/v8/ScriptPromiseResolver.h"
9 #include "core/dom/DOMException.h" 9 #include "core/dom/DOMException.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
11 #include "core/dom/ExceptionCode.h" 11 #include "core/dom/ExceptionCode.h"
12 #include "device/usb/public/interfaces/device.mojom-wtf.h" 12 #include "device/usb/public/interfaces/device.mojom-wtf.h"
13 #include "modules/EventTargetModules.h" 13 #include "modules/EventTargetModules.h"
14 #include "modules/webusb/USBConnectionEvent.h" 14 #include "modules/webusb/USBConnectionEvent.h"
15 #include "modules/webusb/USBDevice.h" 15 #include "modules/webusb/USBDevice.h"
16 #include "modules/webusb/USBDeviceFilter.h" 16 #include "modules/webusb/USBDeviceFilter.h"
17 #include "modules/webusb/USBDeviceRequestOptions.h" 17 #include "modules/webusb/USBDeviceRequestOptions.h"
18 #include "platform/MojoHelper.h"
19 #include "platform/UserGestureIndicator.h" 18 #include "platform/UserGestureIndicator.h"
19 #include "platform/mojo/MojoHelper.h"
20 #include "public/platform/ServiceRegistry.h" 20 #include "public/platform/ServiceRegistry.h"
21 #include "wtf/Functional.h" 21 #include "wtf/Functional.h"
22 22
23 namespace usb = device::usb::wtf; 23 namespace usb = device::usb::wtf;
24 24
25 namespace blink { 25 namespace blink {
26 namespace { 26 namespace {
27 27
28 const char kNoServiceError[] = "USB service unavailable."; 28 const char kNoServiceError[] = "USB service unavailable.";
29 29
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 DEFINE_TRACE(USB) 201 DEFINE_TRACE(USB)
202 { 202 {
203 EventTargetWithInlineData::trace(visitor); 203 EventTargetWithInlineData::trace(visitor);
204 ContextLifecycleObserver::trace(visitor); 204 ContextLifecycleObserver::trace(visitor);
205 visitor->trace(m_deviceManagerRequests); 205 visitor->trace(m_deviceManagerRequests);
206 visitor->trace(m_chooserServiceRequests); 206 visitor->trace(m_chooserServiceRequests);
207 } 207 }
208 208
209 } // namespace blink 209 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentRequest.cpp ('k') | third_party/WebKit/Source/modules/webusb/USBDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698