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_H_ | 5 #ifndef TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_H_ |
6 #define TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_H_ | 6 #define TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <vector> | 11 #include <vector> |
9 | 12 |
10 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
11 #include "base/macros.h" | 14 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
14 #include "device/serial/serial.mojom.h" | 17 #include "device/serial/serial.mojom.h" |
15 #include "tools/battor_agent/battor_error.h" | 18 #include "tools/battor_agent/battor_error.h" |
16 #include "tools/battor_agent/battor_protocol_types.h" | 19 #include "tools/battor_agent/battor_protocol_types.h" |
17 | 20 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 // Threads needed for serial communication. | 134 // Threads needed for serial communication. |
132 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner_; | 135 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner_; |
133 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_; | 136 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_; |
134 | 137 |
135 DISALLOW_COPY_AND_ASSIGN(BattOrConnection); | 138 DISALLOW_COPY_AND_ASSIGN(BattOrConnection); |
136 }; | 139 }; |
137 | 140 |
138 } // namespace battor | 141 } // namespace battor |
139 | 142 |
140 #endif // TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_H_ | 143 #endif // TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_H_ |
OLD | NEW |