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

Unified Diff: device/usb/usb_service.h

Issue 2885143002: Use the task scheduler in the new Windows USB backend (Closed)
Patch Set: Created 3 years, 7 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
Index: device/usb/usb_service.h
diff --git a/device/usb/usb_service.h b/device/usb/usb_service.h
index 6865ca4ebbc5f8e955464ee205c9f378f3549da8..b8c4ffa0ca4201dc8243b6b76933d9ab8f3bbd00 100644
--- a/device/usb/usb_service.h
+++ b/device/usb/usb_service.h
@@ -49,10 +49,8 @@ class UsbService : public base::NonThreadSafe {
virtual void WillDestroyUsbService();
};
- // The file task runner reference is used for blocking I/O operations.
// Returns nullptr when initialization fails.
- static std::unique_ptr<UsbService> Create(
- scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
+ static std::unique_ptr<UsbService> Create();
// Creates a SequencedTaskRunner appropriate for blocking I/O operations.
static scoped_refptr<base::SequencedTaskRunner> CreateBlockingTaskRunner();

Powered by Google App Engine
This is Rietveld 408576698