| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DEVICE_SERIAL_SERIAL_IO_HANDLER_H_ | 5 #ifndef DEVICE_SERIAL_SERIAL_IO_HANDLER_H_ |
| 6 #define DEVICE_SERIAL_SERIAL_IO_HANDLER_H_ | 6 #define DEVICE_SERIAL_SERIAL_IO_HANDLER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
| 17 #include "base/thread_task_runner_handle.h" | |
| 18 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
| 18 #include "base/threading/thread_task_runner_handle.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "device/serial/buffer.h" | 20 #include "device/serial/buffer.h" |
| 21 #include "device/serial/serial.mojom.h" | 21 #include "device/serial/serial.mojom.h" |
| 22 | 22 |
| 23 namespace dbus { | 23 namespace dbus { |
| 24 class FileDescriptor; | 24 class FileDescriptor; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace device { | 27 namespace device { |
| 28 | 28 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_; | 256 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_; |
| 257 | 257 |
| 258 std::string port_; | 258 std::string port_; |
| 259 | 259 |
| 260 DISALLOW_COPY_AND_ASSIGN(SerialIoHandler); | 260 DISALLOW_COPY_AND_ASSIGN(SerialIoHandler); |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 } // namespace device | 263 } // namespace device |
| 264 | 264 |
| 265 #endif // DEVICE_SERIAL_SERIAL_IO_HANDLER_H_ | 265 #endif // DEVICE_SERIAL_SERIAL_IO_HANDLER_H_ |
| OLD | NEW |