OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/services/tracing/public/cpp/switches.h" | 5 #include "services/tracing/public/cpp/switches.h" |
6 | 6 |
7 namespace tracing { | 7 namespace tracing { |
8 | 8 |
9 // Specifies if the |StatsCollectionController| needs to be bound in html pages. | 9 // Specifies if the |StatsCollectionController| needs to be bound in html pages. |
10 // This binding happens on per-frame basis and hence can potentially be a | 10 // This binding happens on per-frame basis and hence can potentially be a |
11 // performance bottleneck. One should only enable it when running a test that | 11 // performance bottleneck. One should only enable it when running a test that |
12 // needs to access the provided statistics. | 12 // needs to access the provided statistics. |
13 const char kEnableStatsCollectionBindings[] = | 13 const char kEnableStatsCollectionBindings[] = |
14 "enable-stats-collection-bindings"; | 14 "enable-stats-collection-bindings"; |
15 | 15 |
16 const char kTraceStartup[] = "trace-startup"; | 16 const char kTraceStartup[] = "trace-startup"; |
17 | 17 |
18 #ifdef NDEBUG | 18 #ifdef NDEBUG |
19 const char kEarlyTracing[] = "early-tracing"; | 19 const char kEarlyTracing[] = "early-tracing"; |
20 #endif | 20 #endif |
21 | 21 |
22 } // namespace tracing | 22 } // namespace tracing |
OLD | NEW |