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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp

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/USBEndpoint.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp b/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp
index f645b0e82d1fa020b2ee0b6d48c727b416916573..1b59a4e23e5da3cf2325396dce5b86b26d4a7e1c 100644
--- a/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp
+++ b/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp
@@ -6,11 +6,11 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/DOMException.h"
-#include "device/usb/public/interfaces/device.mojom-wtf.h"
+#include "device/usb/public/interfaces/device.mojom-blink.h"
#include "modules/webusb/USBAlternateInterface.h"
-using device::usb::wtf::EndpointType;
-using device::usb::wtf::TransferDirection;
+using device::usb::blink::EndpointType;
+using device::usb::blink::TransferDirection;
namespace blink {
@@ -72,9 +72,9 @@ USBEndpoint::USBEndpoint(const USBAlternateInterface* alternate, size_t endpoint
ASSERT(m_endpointIndex < m_alternate->info().endpoints.size());
}
-const device::usb::wtf::EndpointInfo& USBEndpoint::info() const
+const device::usb::blink::EndpointInfo& USBEndpoint::info() const
{
- const device::usb::wtf::AlternateInterfaceInfo& alternateInfo = m_alternate->info();
+ const device::usb::blink::AlternateInterfaceInfo& alternateInfo = m_alternate->info();
ASSERT(m_endpointIndex < alternateInfo.endpoints.size());
return *alternateInfo.endpoints[m_endpointIndex];
}
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBEndpoint.h ('k') | third_party/WebKit/Source/modules/webusb/USBInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698