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 <stdint.h> |
| 6 |
5 #include <cstdio> | 7 #include <cstdio> |
6 #include <cstdlib> | 8 #include <cstdlib> |
7 #include <deque> | 9 #include <deque> |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/at_exit.h" | 12 #include "base/at_exit.h" |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/command_line.h" | 14 #include "base/command_line.h" |
13 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
14 #include "base/logging.h" | 16 #include "base/logging.h" |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 remote_endpoint, | 201 remote_endpoint, |
200 in_pipe.Pass(), | 202 in_pipe.Pass(), |
201 out_pipe.Pass(), | 203 out_pipe.Pass(), |
202 NULL)); | 204 NULL)); |
203 base::MessageLoop message_loop; | 205 base::MessageLoop message_loop; |
204 g_counter.Get().last_printout = base::TimeTicks::Now(); | 206 g_counter.Get().last_printout = base::TimeTicks::Now(); |
205 CheckByteCounters(); | 207 CheckByteCounters(); |
206 message_loop.Run(); | 208 message_loop.Run(); |
207 return 1; | 209 return 1; |
208 } | 210 } |
OLD | NEW |