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

Unified Diff: device/usb/usb_service_linux.cc

Issue 2688303002: Add a feature flag for the new Windows USB backend. (Closed)
Patch Set: Update histograms. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/usb/usb_service_impl.cc ('k') | device/usb/usb_service_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_service_linux.cc
diff --git a/device/usb/usb_service_linux.cc b/device/usb/usb_service_linux.cc
index c94bb276a8429fdeb2110e48bcad0348117000a9..394da74c40001376d7301f71b3e81a702fe4710e 100644
--- a/device/usb/usb_service_linux.cc
+++ b/device/usb/usb_service_linux.cc
@@ -22,7 +22,6 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/threading/thread_restrictions.h"
-#include "base/threading/thread_task_runner_handle.h"
#include "build/build_config.h"
#include "components/device_event_log/device_event_log.h"
#include "device/base/device_monitor_linux.h"
@@ -185,9 +184,7 @@ void UsbServiceLinux::FileThreadHelper::OnDeviceRemoved(udev_device* device) {
UsbServiceLinux::UsbServiceLinux(
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_in)
- : UsbService(base::ThreadTaskRunnerHandle::Get(),
- std::move(blocking_task_runner_in)),
- weak_factory_(this) {
+ : UsbService(std::move(blocking_task_runner_in)), weak_factory_(this) {
helper_ = base::MakeUnique<FileThreadHelper>(weak_factory_.GetWeakPtr(),
task_runner());
blocking_task_runner()->PostTask(
« no previous file with comments | « device/usb/usb_service_impl.cc ('k') | device/usb/usb_service_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698