Index: device/usb/usb_service.h |
diff --git a/device/usb/usb_service.h b/device/usb/usb_service.h |
index 4655bfdbfa64d2ee640edbbde783f51aa10fc46c..a2dfa9ec9151368a0acde32b39cf07f2168f9c75 100644 |
--- a/device/usb/usb_service.h |
+++ b/device/usb/usb_service.h |
@@ -35,6 +35,9 @@ class UsbService : public base::NonThreadSafe { |
// was created. |
virtual void OnDeviceAdded(scoped_refptr<UsbDevice> device); |
virtual void OnDeviceRemoved(scoped_refptr<UsbDevice> device); |
+ // For observers that need to process device removal after others have run. |
+ // Should not depend on any other service's knowledge of connected devices. |
+ virtual void OnDeviceRemovedCleanup(scoped_refptr<UsbDevice> device); |
}; |
// The UI task runner reference is used to talk to the PermissionBrokerClient |