This change adds `inline` to all `constexpr` namespace-global constants in the codebase, to improve codegen around these constants.
19 lines
673 B
C++
19 lines
673 B
C++
// Copyright (c) 2022 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 http://mozilla.org/MPL/2.0/.
|
|
|
|
#ifndef BRAVE_BROWSER_NTP_BACKGROUND_CONSTANTS_H_
|
|
#define BRAVE_BROWSER_NTP_BACKGROUND_CONSTANTS_H_
|
|
|
|
namespace ntp_background_images {
|
|
|
|
inline constexpr char kSanitizedImageFileNameDeprecated[] =
|
|
"sanitized_background_image.png";
|
|
|
|
inline constexpr char kSanitizedImageDirName[] = "sanitized_background_images";
|
|
|
|
} // namespace ntp_background_images
|
|
|
|
#endif // BRAVE_BROWSER_NTP_BACKGROUND_CONSTANTS_H_
|