mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Rebase privacy sandbox files
This commit is contained in:
parent
9c6d474f34
commit
ae833f9d9f
1 changed files with 19 additions and 0 deletions
|
@ -30,6 +30,18 @@ extern const char kPrivacySandboxFlocEnabled[] = "privacy_sandbox.floc_enabled";
|
|||
extern const char kPrivacySandboxFledgeJoinBlocked[] =
|
||||
"privacy_sandbox.fledge_join_blocked";
|
||||
|
||||
extern const char kPrivacySandboxNoticeDisplayed[] =
|
||||
"privacy_sandbox.notice_displayed";
|
||||
|
||||
extern const char kPrivacySandboxConsentDecisionMade[] =
|
||||
"privacy_sandbox.consent_decision_made";
|
||||
|
||||
extern const char kPrivacySandboxNoConfirmationSandboxDisabled[] =
|
||||
"privacy_sandbox.no_confirmation_sandbox_disabled";
|
||||
|
||||
extern const char kPrivacySandboxDisabledInsufficientConfirmation[] =
|
||||
"privacy_sandbox.disabled_insufficient_confirmation";
|
||||
|
||||
} // namespace prefs
|
||||
|
||||
namespace privacy_sandbox {
|
||||
|
@ -51,6 +63,13 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
|||
prefs::kPrivacySandboxFlocEnabled, false,
|
||||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterDictionaryPref(prefs::kPrivacySandboxFledgeJoinBlocked);
|
||||
registry->RegisterBooleanPref(prefs::kPrivacySandboxNoticeDisplayed, false);
|
||||
registry->RegisterBooleanPref(prefs::kPrivacySandboxConsentDecisionMade,
|
||||
false);
|
||||
registry->RegisterBooleanPref(
|
||||
prefs::kPrivacySandboxNoConfirmationSandboxDisabled, false);
|
||||
registry->RegisterBooleanPref(
|
||||
prefs::kPrivacySandboxDisabledInsufficientConfirmation, false);
|
||||
}
|
||||
|
||||
} // namespace privacy_sandbox
|
||||
|
|
Loading…
Reference in a new issue