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

Unified Diff: device/usb/mock_usb_service.cc

Issue 2482463002: Remove DeviceMonitorLinux::WillDestroyCurrentMessageLoop(). (Closed)
Patch Set: CR achuithb #24 Created 4 years, 1 month 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/test/test_device_client.cc ('k') | device/usb/usb_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mock_usb_service.cc
diff --git a/device/usb/mock_usb_service.cc b/device/usb/mock_usb_service.cc
index 460a45d2f8101e181665980a539e9f8def5342ef..e1d98c131a2c15dcf6c635c2783d10bb8fe02ebe 100644
--- a/device/usb/mock_usb_service.cc
+++ b/device/usb/mock_usb_service.cc
@@ -14,6 +14,8 @@ namespace device {
MockUsbService::MockUsbService() : UsbService(nullptr, nullptr) {}
MockUsbService::~MockUsbService() {
+ // Shutdown() must be called before the base class destructor.
+ Shutdown();
}
void MockUsbService::AddDevice(scoped_refptr<UsbDevice> device) {
« no previous file with comments | « device/test/test_device_client.cc ('k') | device/usb/usb_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698