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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/usb/mock_usb_device.h" 5 #include "device/usb/mock_usb_device.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 8
9 namespace device { 9 namespace device {
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 product_id, 54 product_id,
55 manufacturer_string, 55 manufacturer_string,
56 product_string, 56 product_string,
57 serial_number) { 57 serial_number) {
58 configurations_ = configurations; 58 configurations_ = configurations;
59 } 59 }
60 60
61 MockUsbDevice::~MockUsbDevice() { 61 MockUsbDevice::~MockUsbDevice() {
62 } 62 }
63 63
64 void MockUsbDevice::NotifyDeviceRemoved() {
65 UsbDevice::NotifyDeviceRemoved();
66 }
67
64 } // namespace device 68 } // namespace device
OLDNEW
« 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