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

Unified Diff: device/serial/serial_io_handler_win.cc

Issue 2914173002: Removing file_thread_task_runner parameter from SerialIoHandler (Closed)
Patch Set: removed unused variable Created 3 years, 6 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/serial/serial_io_handler_win.h ('k') | device/serial/test_serial_io_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_io_handler_win.cc
diff --git a/device/serial/serial_io_handler_win.cc b/device/serial/serial_io_handler_win.cc
index 75461fe7843c22e6657f1e92efd17667b69d6726..9a25e9a69bbb1ff7f8104188fd0b88a385fa26d4 100644
--- a/device/serial/serial_io_handler_win.cc
+++ b/device/serial/serial_io_handler_win.cc
@@ -151,9 +151,8 @@ bool GetCOMPort(const std::string friendly_name, std::string* com_port) {
// static
scoped_refptr<SerialIoHandler> SerialIoHandler::Create(
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner) {
- return new SerialIoHandlerWin(file_thread_task_runner, ui_thread_task_runner);
+ return new SerialIoHandlerWin(ui_thread_task_runner);
}
class SerialIoHandlerWin::UiThreadHelper final
@@ -359,9 +358,8 @@ bool SerialIoHandlerWin::ConfigurePortImpl() {
}
SerialIoHandlerWin::SerialIoHandlerWin(
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner)
- : SerialIoHandler(file_thread_task_runner, ui_thread_task_runner),
+ : SerialIoHandler(ui_thread_task_runner),
event_mask_(0),
is_comm_pending_(false),
helper_(nullptr),
« no previous file with comments | « device/serial/serial_io_handler_win.h ('k') | device/serial/test_serial_io_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698