OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_TRACING_COMMON_TRACE_STARTUP_H |
| 6 #define COMPONENTS_TRACING_COMMON_TRACE_STARTUP_H |
| 7 |
| 8 #include "components/tracing/tracing_export.h" |
| 9 |
| 10 namespace tracing { |
| 11 |
| 12 // Enables TraceLog with config based on the command line flags of the process. |
| 13 // If |can_access_file_system| is false then TraceLog is not enabled in case it |
| 14 // is required to read config file to start tracing. |
| 15 void TRACING_EXPORT EnableStartupTracingIfNeeded(bool can_access_file_system); |
| 16 |
| 17 } // namespace tracing |
| 18 |
| 19 #endif // COMPONENTS_TRACING_COMMON_TRACE_STARTUP_H |
OLD | NEW |