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 | #ifndef COMPONENTS_UNIFIED_CONSENT_FEATURE_H_ |
| 6 | #define COMPONENTS_UNIFIED_CONSENT_FEATURE_H_ |
| 7 | |
| 8 | #include "base/feature_list.h" |
| 9 | |
| 10 | namespace unified_consent { |
| 11 | |
Thomas Tangl | 460a5861 | 2018-11-30 12:06:52 | [diff] [blame] | 12 | // Single consent for Google services in Chrome. |
Mihai Sardarescu | 160ec66 | 2018-07-18 21:13:51 | [diff] [blame] | 13 | extern const base::Feature kUnifiedConsent; |
Mihai Sardarescu | 160ec66 | 2018-07-18 21:13:51 | [diff] [blame] | 14 | |
Thomas Tangl | 460a5861 | 2018-11-30 12:06:52 | [diff] [blame] | 15 | // Returns true if the unified consent feature state is enabled. |
Mihai Sardarescu | 29a8cd8 | 2018-09-05 16:52:20 | [diff] [blame] | 16 | bool IsUnifiedConsentFeatureEnabled(); |
| 17 | |
Mihai Sardarescu | 160ec66 | 2018-07-18 21:13:51 | [diff] [blame] | 18 | } // namespace unified_consent |
| 19 | |
| 20 | #endif // COMPONENTS_UNIFIED_CONSENT_FEATURE_H_ |