blob: 57679122b1bed75f8e1a6262e10f51d2de5e9e42 [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)
base::FEATURE_DISABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
#endif
};
bool IsUnifiedConsentFeatureEnabled() {
return base::FeatureList::IsEnabled(kUnifiedConsent);
}
} // namespace unified_consent