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 MOJO_RUNNER_TRACER_H_ | 5 #ifndef MOJO_RUNNER_TRACER_H_ |
6 #define MOJO_RUNNER_TRACER_H_ | 6 #define MOJO_RUNNER_TRACER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdio.h> | 9 #include <stdio.h> |
9 | 10 |
10 #include <string> | 11 #include <string> |
11 | 12 |
12 #include "base/callback.h" | 13 #include "base/callback.h" |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "base/memory/ref_counted_memory.h" | 15 #include "base/memory/ref_counted_memory.h" |
15 #include "mojo/common/data_pipe_drainer.h" | 16 #include "mojo/common/data_pipe_drainer.h" |
16 #include "mojo/services/tracing/public/cpp/trace_provider_impl.h" | 17 #include "mojo/services/tracing/public/cpp/trace_provider_impl.h" |
17 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" | 18 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 FILE* trace_file_; | 93 FILE* trace_file_; |
93 std::string trace_filename_; | 94 std::string trace_filename_; |
94 | 95 |
95 DISALLOW_COPY_AND_ASSIGN(Tracer); | 96 DISALLOW_COPY_AND_ASSIGN(Tracer); |
96 }; | 97 }; |
97 | 98 |
98 } // namespace runner | 99 } // namespace runner |
99 } // namespace mojo | 100 } // namespace mojo |
100 | 101 |
101 #endif // MOJO_RUNNER_TRACER_H_ | 102 #endif // MOJO_RUNNER_TRACER_H_ |
OLD | NEW |