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

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: Rename. 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 "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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698