| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_ | 5 #ifndef TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_ |
| 6 #define TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_ | 6 #define TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_ |
| 7 | 7 |
| 8 #include <fstream> | 8 #include <fstream> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/single_thread_task_runner.h" |
| 15 #include "device/serial/serial.mojom.h" | 16 #include "device/serial/serial.mojom.h" |
| 16 #include "tools/battor_agent/battor_connection.h" | 17 #include "tools/battor_agent/battor_connection.h" |
| 17 #include "tools/battor_agent/battor_error.h" | 18 #include "tools/battor_agent/battor_error.h" |
| 18 #include "tools/battor_agent/battor_protocol_types.h" | 19 #include "tools/battor_agent/battor_protocol_types.h" |
| 19 | 20 |
| 20 namespace device { | 21 namespace device { |
| 21 class SerialIoHandler; | 22 class SerialIoHandler; |
| 22 } | 23 } |
| 23 namespace net { | 24 namespace net { |
| 24 class IOBuffer; | 25 class IOBuffer; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_; | 109 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_; |
| 109 | 110 |
| 110 std::fstream serial_log_; | 111 std::fstream serial_log_; |
| 111 | 112 |
| 112 DISALLOW_COPY_AND_ASSIGN(BattOrConnectionImpl); | 113 DISALLOW_COPY_AND_ASSIGN(BattOrConnectionImpl); |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 } // namespace battor | 116 } // namespace battor |
| 116 | 117 |
| 117 #endif // TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_ | 118 #endif // TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_ |
| OLD | NEW |