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

Unified Diff: device/serial/serial_io_handler.h

Issue 1460743002: Revert of Reland: Add code to deal with serial device disconnection detection on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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.gyp ('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 63e6c90a36a7f45ea865f15807318b05ec0031e1..81d70282a00188dce960ca65308b6d3e119707ce 100644
--- a/device/serial/serial_io_handler.h
+++ b/device/serial/serial_io_handler.h
@@ -190,16 +190,6 @@
// 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();
- }
-
- const std::string& port() const { return port_; }
-
private:
friend class base::RefCounted<SerialIoHandler>;
@@ -239,8 +229,6 @@
// On Chrome OS, PermissionBrokerClient should be called on the UI thread.
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_;
- std::string port_;
-
DISALLOW_COPY_AND_ASSIGN(SerialIoHandler);
};
« no previous file with comments | « device/serial/serial.gyp ('k') | device/serial/serial_io_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698