[SmartLock] Delete ProximityAuthLocalStatePrefManager

Now that sign in with Smart Lock is deprecated, we no longer need to
access any Smart Lock prefs outside of a user profile. This cl removes
Smart Lock local state prefs and the ProximityAuthLocalStatePrefManager.

TEST=existing unittests pass, manually tested Smart Lock with strongbad
and pixel4a.

Change-Id: I364801111bc8260fc0f7cb1b3225fcea77781644
Bug: b/227674947
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4335758
Reviewed-by: Tommy Nyquist <[email protected]>
Reviewed-by: Ryan Hansberry <[email protected]>
Commit-Queue: Brittany Hartmire <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1117868}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 2aeb117f..3826c517 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -818,6 +818,11 @@
     "ash.signout_screenshot.duration";
 #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
 
+// Deprecated 03/2023.
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+const char kEasyUnlockLocalStateUserPrefs[] = "easy_unlock.user_prefs";
+#endif  // BUILDFLAG(IS_CHROMEOS_ASH)
+
 // Register local state used only for migration (clearing or moving to a new
 // key).
 void RegisterLocalStatePrefsForMigration(PrefRegistrySimple* registry) {
@@ -910,6 +915,11 @@
   registry->RegisterTimeDeltaPref(kGlanceablesSignoutScreenshotDuration,
                                   base::TimeDelta());
 #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
+
+// Deprecated 03/2023.
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+  registry->RegisterDictionaryPref(kEasyUnlockLocalStateUserPrefs);
+#endif  // BUILDFLAG(IS_CHROMEOS_ASH)
 }
 
 // Register prefs used only for migration (clearing or moving to a new key).
@@ -1882,6 +1892,11 @@
   local_state->ClearPref(kGlanceablesSignoutScreenshotDuration);
 #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
 
+// Added 03/2023.
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+  local_state->ClearPref(kEasyUnlockLocalStateUserPrefs);
+#endif  // BUILDFLAG(IS_CHROMEOS_ASH)
+
   // Please don't delete the following line. It is used by PRESUBMIT.py.
   // END_MIGRATE_OBSOLETE_LOCAL_STATE_PREFS