summaryrefslogtreecommitdiffstats
path: root/mojo/application/public/cpp/switches.cc
blob: 102bd6f85209da961209d39eb8e79d1210f6a1cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "mojo/application/public/cpp/switches.h"

namespace mojo {

// Specifies if the |StatsCollectionController| needs to be bound in html pages.
// This binding happens on per-frame basis and hence can potentially be a
// performance bottleneck. One should only enable it when running a test that
// needs to access the provided statistics.
const char kEnableStatsCollectionBindings[] =
    "enable-stats-collection-bindings";

const char kTraceStartup[] = "trace-startup";

// Sets the name of the output file for startup tracing.
const char kTraceStartupOutputName[] = "trace-startup-output-name";

#ifdef NDEBUG
const char kEarlyTracing[] = "early-tracing";
#endif

}  // namespace mojo