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

Unified Diff: device/serial/serial_io_handler.h

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 | « content/browser/tracing/power_tracing_agent.cc ('k') | device/serial/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.h
diff --git a/device/serial/serial_io_handler.h b/device/serial/serial_io_handler.h
index 856965aeb650d9240eb3d0ea58d821b8b907872f..c0adb5e5c168d4a7797a927d2a57af8edfbd9e09 100644
--- a/device/serial/serial_io_handler.h
+++ b/device/serial/serial_io_handler.h
@@ -30,7 +30,6 @@ class SerialIoHandler : public base::RefCountedThreadSafe<SerialIoHandler> {
public:
// Constructs an instance of some platform-specific subclass.
static scoped_refptr<SerialIoHandler> Create(
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner);
typedef base::Callback<void(bool success)> OpenCompleteCallback;
@@ -112,7 +111,6 @@ class SerialIoHandler : public base::RefCountedThreadSafe<SerialIoHandler> {
protected:
explicit SerialIoHandler(
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner);
virtual ~SerialIoHandler();
@@ -195,10 +193,6 @@ class SerialIoHandler : public base::RefCountedThreadSafe<SerialIoHandler> {
// Possibly fixes up a serial port path name in a platform-specific manner.
static std::string MaybeFixUpPortName(const std::string& port_name);
- base::SingleThreadTaskRunner* file_thread_task_runner() const {
- return file_thread_task_runner_.get();
- }
-
base::SingleThreadTaskRunner* ui_thread_task_runner() const {
return ui_thread_task_runner_.get();
}
@@ -242,7 +236,6 @@ class SerialIoHandler : public base::RefCountedThreadSafe<SerialIoHandler> {
// Callback to handle the completion of a pending Open() request.
OpenCompleteCallback open_complete_;
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner_;
// On Chrome OS, PermissionBrokerClient should be called on the UI thread.
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_;
« no previous file with comments | « content/browser/tracing/power_tracing_agent.cc ('k') | device/serial/serial_io_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698