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 #include "device/serial/test_serial_io_handler.h" | 5 #include "device/serial/test_serial_io_handler.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <algorithm> | 10 #include <algorithm> |
8 | 11 |
9 #include "base/bind.h" | 12 #include "base/bind.h" |
10 #include "device/serial/serial.mojom.h" | 13 #include "device/serial/serial.mojom.h" |
11 | 14 |
12 namespace device { | 15 namespace device { |
13 | 16 |
14 TestSerialIoHandler::TestSerialIoHandler() | 17 TestSerialIoHandler::TestSerialIoHandler() |
15 : SerialIoHandler(NULL, NULL), | 18 : SerialIoHandler(NULL, NULL), |
16 opened_(false), | 19 opened_(false), |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } | 109 } |
107 | 110 |
108 bool TestSerialIoHandler::ClearBreak() { | 111 bool TestSerialIoHandler::ClearBreak() { |
109 return true; | 112 return true; |
110 } | 113 } |
111 | 114 |
112 TestSerialIoHandler::~TestSerialIoHandler() { | 115 TestSerialIoHandler::~TestSerialIoHandler() { |
113 } | 116 } |
114 | 117 |
115 } // namespace device | 118 } // namespace device |
OLD | NEW |