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

Unified Diff: device/usb/mock_usb_device.cc

Issue 1695643002: Destroy DeviceImpl when the underlying UsbDevice is disconnected. (Closed) Base URL: reillyg-linux.mtv.corp.google.com:/src/chromium/src@mojo_device_autoclose
Patch Set: Revert change to web_usb_device_impl.cc. Created 4 years, 10 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/mock_usb_device.h ('k') | device/usb/mojo/device_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mock_usb_device.cc
diff --git a/device/usb/mock_usb_device.cc b/device/usb/mock_usb_device.cc
index 65c70867794c2c1da0307b75e4e0ec7be8eea9af..49b2252ac346b96c25497ab1e9110d7f5f738bc3 100644
--- a/device/usb/mock_usb_device.cc
+++ b/device/usb/mock_usb_device.cc
@@ -61,4 +61,8 @@ MockUsbDevice::MockUsbDevice(
MockUsbDevice::~MockUsbDevice() {
}
+void MockUsbDevice::NotifyDeviceRemoved() {
+ UsbDevice::NotifyDeviceRemoved();
+}
+
} // namespace device
« no previous file with comments | « device/usb/mock_usb_device.h ('k') | device/usb/mojo/device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698