This PR corrects several places where `BASE_FEATURE` is being used to rely on the two-arg variant of this macro. This particular PR has no functional changes, and the only feature declarations affected are the ones for which the feature-name constant, and the actual value are identical. The particular issue for this will be left open so subsequent work for the other features can be followed up on. Bug: https://github.com/brave/brave-browser/issues/50492
19 lines
705 B
C++
19 lines
705 B
C++
// Copyright (c) 2024 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/.
|
|
|
|
#include "brave/components/webcompat/core/common/features.h"
|
|
|
|
#include "base/feature_list.h"
|
|
|
|
namespace webcompat::features {
|
|
|
|
// This flag enables the webcompat exceptions service, which allows
|
|
// a remote list to control site-specific exceptions to Brave features
|
|
// when required for web compatibility.
|
|
BASE_FEATURE(kBraveWebcompatExceptionsService,
|
|
base::FEATURE_DISABLED_BY_DEFAULT);
|
|
|
|
} // namespace webcompat::features
|