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

Unified Diff: third_party/WebKit/Source/modules/webusb/USB.h

Issue 1902263004: Mojo: Change the blink variant from "wtf" to "blink". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webusb/USB.h
diff --git a/third_party/WebKit/Source/modules/webusb/USB.h b/third_party/WebKit/Source/modules/webusb/USB.h
index e0d33f7f62751863d712bb62986615f897855ee2..e2f05d3c61df315d9b52a9a14903dd20be72a2e4 100644
--- a/third_party/WebKit/Source/modules/webusb/USB.h
+++ b/third_party/WebKit/Source/modules/webusb/USB.h
@@ -9,8 +9,8 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/ContextLifecycleObserver.h"
#include "core/events/EventTarget.h"
-#include "device/usb/public/interfaces/chooser_service.mojom-wtf.h"
-#include "device/usb/public/interfaces/device_manager.mojom-wtf.h"
+#include "device/usb/public/interfaces/chooser_service.mojom-blink.h"
+#include "device/usb/public/interfaces/device_manager.mojom-blink.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -46,11 +46,11 @@ public:
// ContextLifecycleObserver overrides.
void contextDestroyed() override;
- device::usb::wtf::DeviceManager* deviceManager() const { return m_deviceManager.get(); }
+ device::usb::blink::DeviceManager* deviceManager() const { return m_deviceManager.get(); }
- void onGetDevices(ScriptPromiseResolver*, mojo::WTFArray<device::usb::wtf::DeviceInfoPtr>);
- void onGetPermission(ScriptPromiseResolver*, device::usb::wtf::DeviceInfoPtr);
- void onDeviceChanges(device::usb::wtf::DeviceChangeNotificationPtr);
+ void onGetDevices(ScriptPromiseResolver*, mojo::WTFArray<device::usb::blink::DeviceInfoPtr>);
+ void onGetPermission(ScriptPromiseResolver*, device::usb::blink::DeviceInfoPtr);
+ void onDeviceChanges(device::usb::blink::DeviceChangeNotificationPtr);
void onDeviceManagerConnectionError();
void onChooserServiceConnectionError();
@@ -60,9 +60,9 @@ public:
private:
explicit USB(LocalFrame& frame);
- device::usb::wtf::DeviceManagerPtr m_deviceManager;
+ device::usb::blink::DeviceManagerPtr m_deviceManager;
HeapHashSet<Member<ScriptPromiseResolver>> m_deviceManagerRequests;
- device::usb::wtf::ChooserServicePtr m_chooserService;
+ device::usb::blink::ChooserServicePtr m_chooserService;
HeapHashSet<Member<ScriptPromiseResolver>> m_chooserServiceRequests;
};
« no previous file with comments | « third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h ('k') | third_party/WebKit/Source/modules/webusb/USB.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698