Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: components/tracing/common/trace_startup.h

Issue 2683913002: Enable startup tracing from command line flags in components/tracing (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « components/tracing/common/trace_config_file_unittest.cc ('k') | components/tracing/common/trace_startup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698