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

Unified Diff: device/usb/usb_service_android.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.cc ('k') | device/usb/usb_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_service_android.cc
diff --git a/device/usb/usb_service_android.cc b/device/usb/usb_service_android.cc
index a1d1a89d329dc38774536f1c6467bc7a0a2727e8..102b33cb6a33966617f952dbaf845ba15afe5999 100644
--- a/device/usb/usb_service_android.cc
+++ b/device/usb/usb_service_android.cc
@@ -11,7 +11,6 @@
#include "base/bind.h"
#include "base/location.h"
#include "base/sequenced_task_runner.h"
-#include "base/threading/thread_task_runner_handle.h"
#include "components/device_event_log/device_event_log.h"
#include "device/usb/usb_device_android.h"
#include "jni/ChromeUsbService_jni.h"
@@ -29,8 +28,7 @@ bool UsbServiceAndroid::RegisterJNI(JNIEnv* env) {
UsbServiceAndroid::UsbServiceAndroid(
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner)
- : UsbService(base::ThreadTaskRunnerHandle::Get(), blocking_task_runner),
- weak_factory_(this) {
+ : UsbService(blocking_task_runner), weak_factory_(this) {
JNIEnv* env = AttachCurrentThread();
j_object_.Reset(
Java_ChromeUsbService_create(env, base::android::GetApplicationContext(),
« no previous file with comments | « device/usb/usb_service.cc ('k') | device/usb/usb_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698