Privacy Sandbox Settings: Remove preference reconciliation logic

When the first version of the Privacy Sandbox Settings page was
launched, logic to set the default value of the main preference was
introduced.

This logic was required to consult both synced, and un-synced, state to
determine what initial state a user should have.

This logic has been running for all users for >1 year now, and so we
expect the vast majority of users to have been appropriately
initialized.

This CL removes the logic, termed "reconciliation", from the code base.

Bug: 1166665
Change-Id: I9ede9f035e8b7ea3bb220abe4849f55f3c67a024
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721648
Reviewed-by: Olesia Marukhno <[email protected]>
Reviewed-by: Dominic Battré <[email protected]>
Commit-Queue: Theodore Olsauskas-Warren <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1018626}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 4b07a0e..8bf0ef79 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -757,6 +757,10 @@
     "ash.improved_shortcuts_notification_shown_count";
 #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
 
+// Deprecated 06/2022.
+const char kPrivacySandboxPreferencesReconciled[] =
+    "privacy_sandbox.preferences_reconciled";
+
 // Register local state used only for migration (clearing or moving to a new
 // key).
 void RegisterLocalStatePrefsForMigration(PrefRegistrySimple* registry) {
@@ -989,6 +993,8 @@
 #if BUILDFLAG(ENABLE_DICE_SUPPORT)
   registry->RegisterBooleanPref(kTokenServiceDiceCompatible, false);
 #endif  // BUILDFLAG(ENABLE_DICE_SUPPORT)
+
+  registry->RegisterBooleanPref(kPrivacySandboxPreferencesReconciled, false);
 }
 
 }  // namespace
@@ -1951,6 +1957,9 @@
 #endif
   profile_prefs->ClearPref(prefs::kCloudPrintSubmitEnabled);
 
+  // Added 06/2022.
+  profile_prefs->ClearPref(kPrivacySandboxPreferencesReconciled);
+
   // Please don't delete the following line. It is used by PRESUBMIT.py.
   // END_MIGRATE_OBSOLETE_PROFILE_PREFS