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

Unified Diff: device/usb/usb_device_impl.cc

Issue 1784733002: Track USB device configuration state in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink_open_state
Patch Set: Rebased. Created 4 years, 9 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
« no previous file with comments | « device/usb/usb_device_impl.h ('k') | third_party/WebKit/LayoutTests/usb/resources/fake-devices.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_impl.cc
diff --git a/device/usb/usb_device_impl.cc b/device/usb/usb_device_impl.cc
index 1a8bedf1f120c12cc59d7e6ec40230b0756c82df..19b52c9d60a639984d3edff28f9ee5eaf508b56d 100644
--- a/device/usb/usb_device_impl.cc
+++ b/device/usb/usb_device_impl.cc
@@ -208,7 +208,7 @@ void UsbDeviceImpl::Close(scoped_refptr<UsbDeviceHandle> handle) {
}
}
-const UsbConfigDescriptor* UsbDeviceImpl::GetActiveConfiguration() {
+const UsbConfigDescriptor* UsbDeviceImpl::GetActiveConfiguration() const {
DCHECK(thread_checker_.CalledOnValidThread());
return active_configuration_;
}
« no previous file with comments | « device/usb/usb_device_impl.h ('k') | third_party/WebKit/LayoutTests/usb/resources/fake-devices.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698