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

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

Issue 2821723002: Move classes in the device.usb Mojo namespace to device.mojom (Closed)
Patch Set: mcasas@ nits Created 3 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/USBAlternateInterface.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/USBAlternateInterface.cpp b/third_party/WebKit/Source/modules/webusb/USBAlternateInterface.cpp
index e9ff8709b5426c0a180ce9dd6a792752281f8c0c..8b6d8f79b373eabdb8c78cec1f7bff41f49780a1 100644
--- a/third_party/WebKit/Source/modules/webusb/USBAlternateInterface.cpp
+++ b/third_party/WebKit/Source/modules/webusb/USBAlternateInterface.cpp
@@ -36,9 +36,10 @@ USBAlternateInterface::USBAlternateInterface(const USBInterface* interface,
ASSERT(alternate_index_ < interface_->Info().alternates.size());
}
-const device::usb::blink::AlternateInterfaceInfo& USBAlternateInterface::Info()
- const {
- const device::usb::blink::InterfaceInfo& interface_info = interface_->Info();
+const device::mojom::blink::UsbAlternateInterfaceInfo&
+USBAlternateInterface::Info() const {
+ const device::mojom::blink::UsbInterfaceInfo& interface_info =
+ interface_->Info();
ASSERT(alternate_index_ < interface_info.alternates.size());
return *interface_info.alternates[alternate_index_];
}

Powered by Google App Engine
This is Rietveld 408576698