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

Unified Diff: chrome/browser/chrome_device_client.cc

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
« no previous file with comments | « no previous file | device/hid/hid_connection_unittest.cc » ('j') | device/hid/hid_connection_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_device_client.cc
diff --git a/chrome/browser/chrome_device_client.cc b/chrome/browser/chrome_device_client.cc
index 7e4bcfd173b6bc9638e7db9af8a01e374b25cfec..9007a2de85434344da357b4bad626b59561b6958 100644
--- a/chrome/browser/chrome_device_client.cc
+++ b/chrome/browser/chrome_device_client.cc
@@ -31,10 +31,8 @@ void ChromeDeviceClient::Shutdown() {
device::UsbService* ChromeDeviceClient::GetUsbService() {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- if (!usb_service_) {
- usb_service_ = device::UsbService::Create(
- BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE));
- }
+ if (!usb_service_)
+ usb_service_ = device::UsbService::Create();
return usb_service_.get();
}
« no previous file with comments | « no previous file | device/hid/hid_connection_unittest.cc » ('j') | device/hid/hid_connection_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698