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 #include "tools/battor_agent/battor_agent.h" | 5 #include "tools/battor_agent/battor_agent.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "tools/battor_agent/battor_connection_impl.h" | 11 #include "tools/battor_agent/battor_connection_impl.h" |
12 #include "tools/battor_agent/battor_sample_converter.h" | 12 #include "tools/battor_agent/battor_sample_converter.h" |
13 | 13 |
14 using std::vector; | 14 using std::vector; |
15 | 15 |
16 namespace battor { | 16 namespace battor { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
20 // The number of seconds that it takes a BattOr to reset. | 20 // The number of seconds that it takes a BattOr to reset. |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 if (clock_sync_marker != clock_sync_markers_.end()) | 561 if (clock_sync_marker != clock_sync_markers_.end()) |
562 trace_stream << " <" << clock_sync_marker->second << ">"; | 562 trace_stream << " <" << clock_sync_marker->second << ">"; |
563 | 563 |
564 trace_stream << std::endl; | 564 trace_stream << std::endl; |
565 } | 565 } |
566 | 566 |
567 return trace_stream.str(); | 567 return trace_stream.str(); |
568 } | 568 } |
569 | 569 |
570 } // namespace battor | 570 } // namespace battor |
OLD | NEW |