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

Unified Diff: device/usb/usb_device_handle_android.h

Issue 2849953003: Use the task scheduler for blocking tasks in the USB service on Linux (Closed)
Patch Set: Remove more passing of the SequencedTaskRunner Created 3 years, 8 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_device_android.cc ('k') | device/usb/usb_device_handle_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_handle_android.h
diff --git a/device/usb/usb_device_handle_android.h b/device/usb/usb_device_handle_android.h
index d6a7cb7deeb12ac27448ef87eeb45afdc8d90dee..6e7a51c41edc8e056a9d82eadc8a84e7177aeb88 100644
--- a/device/usb/usb_device_handle_android.h
+++ b/device/usb/usb_device_handle_android.h
@@ -7,7 +7,6 @@
#include "base/android/scoped_java_ref.h"
#include "base/memory/ref_counted.h"
-#include "base/sequenced_task_runner.h"
#include "device/usb/usb_device_handle_usbfs.h"
namespace device {
@@ -21,7 +20,6 @@ class UsbDeviceHandleAndroid : public UsbDeviceHandleUsbfs {
static scoped_refptr<UsbDeviceHandleAndroid> Create(
JNIEnv* env,
scoped_refptr<UsbDevice> device,
- scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
const base::android::JavaRef<jobject>& usb_connection);
private:
@@ -29,7 +27,6 @@ class UsbDeviceHandleAndroid : public UsbDeviceHandleUsbfs {
UsbDeviceHandleAndroid(
scoped_refptr<UsbDevice> device,
base::ScopedFD fd,
- scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
const base::android::JavaRef<jobject>& wrapper);
~UsbDeviceHandleAndroid() override;
« no previous file with comments | « device/usb/usb_device_android.cc ('k') | device/usb/usb_device_handle_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698