| // Copyright 2018 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_UNIFIED_CONSENT_PREF_NAMES_H_ |
| #define COMPONENTS_UNIFIED_CONSENT_PREF_NAMES_H_ |
| |
| #include "build/build_config.h" |
| |
| namespace unified_consent::prefs { |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| // Integer indicating the migration state of unified consent, defined in |
| // unified_consent::MigrationState. |
| // |
| // Note: Migration of profiles to unified consent is over on all platforms |
| // except on ChromeOS where the user profiles start with sync enabled. |
| // |
| // TODO(http://crbug.com/1459986): Remove this from ChromeOS Ash as well. |
| extern const char kUnifiedConsentMigrationState[]; |
| #endif |
| |
| // Boolean indicating whether anonymized URL-keyed data data collection (aka |
| // "Make Searches and Browsing Better") is enabled. |
| // NOTE: Instead of directly reading this pref, use |
| // UrlKeyedDataCollectionConsentHelper:: |
| // NewAnonymizedDataCollectionConsentHelper. |
| extern const char kUrlKeyedAnonymizedDataCollectionEnabled[]; |
| |
| } // namespace unified_consent::prefs |
| |
| #endif // COMPONENTS_UNIFIED_CONSENT_PREF_NAMES_H_ |