[IdentifiabilityStudy] Remove code for estimating REID
This code is behind a disabled feature flag. We are not using it at
the moment and we are unlikely to be using it in the near future, so
let's clean it up.
Change-Id: I814ed662b82706935d282c8d0e2232bf71a6425f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5130235
Reviewed-by: Dominic Battre <[email protected]>
Reviewed-by: Mike West <[email protected]>
Commit-Queue: Antonio Sartori <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1239170}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 90c8bd9..f80beb38 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -955,6 +955,10 @@
constexpr char kIsolatedWebAppsEnabled[] = "ash.isolated_web_apps_enabled";
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
+// Deprecated 12/2023.
+const char kPrivacyBudgetReportedReidBlocks[] =
+ "privacy_budget.reported_reid_blocks";
+
// Register local state used only for migration (clearing or moving to a new
// key).
void RegisterLocalStatePrefsForMigration(PrefRegistrySimple* registry) {
@@ -1075,6 +1079,9 @@
#if BUILDFLAG(IS_CHROMEOS_ASH)
registry->RegisterBooleanPref(kIsolatedWebAppsEnabled, false);
#endif
+
+ // Deprecated 12/2023
+ registry->RegisterStringPref(kPrivacyBudgetReportedReidBlocks, std::string());
}
// Register prefs used only for migration (clearing or moving to a new key).
@@ -2216,6 +2223,9 @@
local_state->ClearPref(kIsolatedWebAppsEnabled);
#endif
+ // Added 12/2023
+ local_state->ClearPref(kPrivacyBudgetReportedReidBlocks);
+
// Please don't delete the following line. It is used by PRESUBMIT.py.
// END_MIGRATE_OBSOLETE_LOCAL_STATE_PREFS