Mihai Sardarescu | 160ec66 | 2018-07-18 21:13:51 | [diff] [blame] | 1 | // Copyright 2018 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "components/unified_consent/feature.h" |
| 6 | |
Mihai Sardarescu | 160ec66 | 2018-07-18 21:13:51 | [diff] [blame] | 7 | namespace unified_consent { |
| 8 | |
Thomas Tangl | 460a5861 | 2018-11-30 12:06:52 | [diff] [blame] | 9 | // base::Feature definition. |
Mihai Sardarescu | 160ec66 | 2018-07-18 21:13:51 | [diff] [blame] | 10 | const base::Feature kUnifiedConsent{"UnifiedConsent", |
| 11 | base::FEATURE_DISABLED_BY_DEFAULT}; |
Mihai Sardarescu | 29a8cd8 | 2018-09-05 16:52:20 | [diff] [blame] | 12 | |
| 13 | bool IsUnifiedConsentFeatureEnabled() { |
Thomas Tangl | 460a5861 | 2018-11-30 12:06:52 | [diff] [blame] | 14 | return base::FeatureList::IsEnabled(kUnifiedConsent); |
Mihai Sardarescu | 29a8cd8 | 2018-09-05 16:52:20 | [diff] [blame] | 15 | } |
Mihai Sardarescu | 160ec66 | 2018-07-18 21:13:51 | [diff] [blame] | 16 | |
| 17 | } // namespace unified_consent |