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_STARTUP_COMMAND_PARSER_H |
| 6 #define COMPONENTS_TRACING_COMMON_STARTUP_COMMAND_PARSER_H |
| 7 |
| 8 #include "base/command_line.h" |
| 9 #include "components/tracing/tracing_export.h" |
| 10 |
| 11 namespace tracing { |
| 12 |
| 13 // Enables TraceLog with config based on the command line flags passed. If |
| 14 // |can_access_file_system| is false then TraceLog is not enabled in case it is |
| 15 // required to read config file to start tracing. |
| 16 void TRACING_EXPORT |
| 17 ParseStartupTraceCommands(const base::CommandLine& command_line, |
| 18 bool can_access_file_system); |
| 19 |
| 20 } // namespace tracing |
| 21 |
| 22 #endif // COMPONENTS_TRACING_COMMON_STARTUP_COMMAND_PARSER_H |
OLD | NEW |