blob: cb99cbdc5ed344e4af2add20e1eaddb4205bf974 [file] [log] [blame]
// Copyright 2018 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 "components/unified_consent/feature.h"
#include "build/build_config.h"
namespace unified_consent {
// base::Feature definition.
const base::Feature kUnifiedConsent {
"UnifiedConsent",
#if defined(OS_CHROMEOS) || defined(OS_IOS) || defined(OS_ANDROID)
base::FEATURE_DISABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
#endif
};
bool IsUnifiedConsentFeatureEnabled() {
return base::FeatureList::IsEnabled(kUnifiedConsent);
}
} // namespace unified_consent