Chromium Code Reviews| 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 "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 EnableStartupTracingIfNeeded(const base::CommandLine& command_line, | |
|
Primiano Tucci (use gerrit)
2017/02/15 15:33:34
There doesn't seem to be an actual need of passing
ssid
2017/02/15 18:35:34
Done.
| |
| 18 bool can_access_file_system); | |
| 19 | |
| 20 } // namespace tracing | |
| 21 | |
| 22 #endif // COMPONENTS_TRACING_COMMON_TRACE_STARTUP_H | |
| OLD | NEW |