Remove floc dead code

This commit is contained in:
Alexander David Frick 2022-07-06 13:02:43 -05:00 committed by GitHub
parent 36c28e0865
commit a7a88d2660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,14 +25,9 @@ const char kPrivacySandboxManuallyControlledV2[] =
const char kPrivacySandboxPageViewed[] = "privacy_sandbox.page_viewed";
const char kPrivacySandboxFlocDataAccessibleSince[] =
"privacy_sandbox.floc_data_accessible_since";
const char kPrivacySandboxTopicsDataAccessibleSince[] =
const char kPrivacySandboxDataAccessibleSince[] =
"privacy_sandbox.topics_data_accessible_since";
extern const char kPrivacySandboxFlocEnabled[] = "privacy_sandbox.floc_enabled";
const char kPrivacySandboxBlockedTopics[] = "privacy_sandbox.blocked_topics";
extern const char kPrivacySandboxFledgeJoinBlocked[] =
@ -78,13 +73,8 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
registry->RegisterBooleanPref(prefs::kPrivacySandboxManuallyControlledV2,
false);
registry->RegisterBooleanPref(prefs::kPrivacySandboxPageViewed, false);
registry->RegisterTimePref(prefs::kPrivacySandboxFlocDataAccessibleSince,
base::Time());
registry->RegisterTimePref(prefs::kPrivacySandboxTopicsDataAccessibleSince,
base::Time());
registry->RegisterBooleanPref(
prefs::kPrivacySandboxFlocEnabled, false,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterListPref(prefs::kPrivacySandboxBlockedTopics);
registry->RegisterDictionaryPref(prefs::kPrivacySandboxFledgeJoinBlocked);
registry->RegisterBooleanPref(prefs::kPrivacySandboxNoticeDisplayed, false);