OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 COMPONENTS_TRACING_TRACE_CONFIG_FILE_H_ | 5 #ifndef COMPONENTS_TRACING_TRACE_CONFIG_FILE_H_ |
6 #define COMPONENTS_TRACING_TRACE_CONFIG_FILE_H_ | 6 #define COMPONENTS_TRACING_TRACE_CONFIG_FILE_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/trace_event/trace_config.h" | 10 #include "base/trace_event/trace_config.h" |
| 11 #include "build/build_config.h" |
11 #include "components/tracing/tracing_export.h" | 12 #include "components/tracing/tracing_export.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 template <typename Type> struct DefaultSingletonTraits; | 15 template <typename Type> struct DefaultSingletonTraits; |
15 } // namespace base | 16 } // namespace base |
16 | 17 |
17 namespace tracing { | 18 namespace tracing { |
18 | 19 |
19 // TraceConfigFile is a singleton that contains the configurations of tracing. | 20 // TraceConfigFile is a singleton that contains the configurations of tracing. |
20 // One can create a trace config file and use it to configure startup and/or | 21 // One can create a trace config file and use it to configure startup and/or |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 base::trace_event::TraceConfig trace_config_; | 88 base::trace_event::TraceConfig trace_config_; |
88 int startup_duration_; | 89 int startup_duration_; |
89 base::FilePath result_file_; | 90 base::FilePath result_file_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(TraceConfigFile); | 92 DISALLOW_COPY_AND_ASSIGN(TraceConfigFile); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace tracing | 95 } // namespace tracing |
95 | 96 |
96 #endif // COMPONENTS_TRACING_TRACE_CONFIG_FILE_H_ | 97 #endif // COMPONENTS_TRACING_TRACE_CONFIG_FILE_H_ |
OLD | NEW |