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

Unified Diff: device/hid/hid_service_linux.h

Issue 2799743006: Remove MessageLoop destruction observer from hid_connection_linux.cc (Closed)
Patch Set: Last review comments 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/hid/hid_connection_linux.cc ('k') | device/hid/hid_service_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_service_linux.h
diff --git a/device/hid/hid_service_linux.h b/device/hid/hid_service_linux.h
index 5f8084f8bf81f9375a6f2cb52e01e75f94abe50b..17616ba66994b1ed2a758084e077e8e7217d4f61 100644
--- a/device/hid/hid_service_linux.h
+++ b/device/hid/hid_service_linux.h
@@ -19,7 +19,8 @@ namespace device {
class HidServiceLinux : public HidService {
public:
- HidServiceLinux(scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
+ HidServiceLinux(
+ scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
~HidServiceLinux() override;
// HidService:
@@ -48,8 +49,8 @@ class HidServiceLinux : public HidService {
static void FinishOpen(std::unique_ptr<ConnectParams> params);
static void CreateConnection(std::unique_ptr<ConnectParams> params);
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
+ const scoped_refptr<base::SequencedTaskRunner> task_runner_;
+ const scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
// The helper lives on the FILE thread and holds a weak reference back to the
// service that owns it.
« no previous file with comments | « device/hid/hid_connection_linux.cc ('k') | device/hid/hid_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698