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

Unified Diff: device/usb/usb_device_handle_usbfs.h

Issue 2391633002: Use FileDescriptorWatcher in UsbDeviceHandleUsbfs. (Closed)
Patch Set: fix build error Created 4 years, 2 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 | « no previous file | device/usb/usb_device_handle_usbfs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_handle_usbfs.h
diff --git a/device/usb/usb_device_handle_usbfs.h b/device/usb/usb_device_handle_usbfs.h
index 47ae15526f048c1467e7899506f4448cb1497811..18a94e99e0380679260b6bf38623806d84d00009 100644
--- a/device/usb/usb_device_handle_usbfs.h
+++ b/device/usb/usb_device_handle_usbfs.h
@@ -27,8 +27,8 @@ namespace device {
class UsbDeviceHandleUsbfs : public UsbDeviceHandle {
public:
// Constructs a new device handle from an existing |device| and open file
- // descriptor to that device. |blocking_task_runner| must have a
- // MessageLoopForIO.
+ // descriptor to that device. |blocking_task_runner| must run tasks on a
+ // thread that supports FileDescriptorWatcher.
UsbDeviceHandleUsbfs(
scoped_refptr<UsbDevice> device,
base::ScopedFD fd,
« no previous file with comments | « no previous file | device/usb/usb_device_handle_usbfs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698