Files
brave-core/browser/perf/brave_perf_switches.h
cdesouza-chromium 75bbf7d53c Convert various extern strings to constexpr (#20959)
These change are being done to make use of `absl::StrFormat` in the
future, and also to get some better codegen with these constants.
There's also some harderning on upstream code to avoid unnecessary
conversions involving constants, which can only be enforced in a
`constexpr` constext.
2023-11-15 09:02:30 +00:00

21 lines
744 B
C++

// Copyright (c) 2023 The Brave Authors. All rights reserved.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef BRAVE_BROWSER_PERF_BRAVE_PERF_SWITCHES_H_
#define BRAVE_BROWSER_PERF_BRAVE_PERF_SWITCHES_H_
namespace perf::switches {
// All switches in alphabetical order.
// Enables some Brave's widely used features for a testing profile in perf
// tests. --user-data-dir should be set.
inline constexpr char kEnableBraveFeaturesForPerfTesting[] =
"enable-brave-features-for-perf-testing";
} // namespace perf::switches
#endif // BRAVE_BROWSER_PERF_BRAVE_PERF_SWITCHES_H_