Remove GestureEducationNotification

The notification has served its purpose.
This CL removes all associated code and clears out
the user pref.

Bug: b:288337446
Change-Id: Id1d4ee48b5b4bd3b5d6936d07b8ca46d4f601be8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4863502
Reviewed-by: Lei Zhang <[email protected]>
Commit-Queue: Ahmed Mehfooz <[email protected]>
Reviewed-by: Xiyuan Xia <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1196345}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 64dd45ef..b19c7d74 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -912,6 +912,12 @@
 inline constexpr char kSettingsResetPrompt[] = "settings_reset_prompt";
 #endif
 
+// Deprecated 09/2023.
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+constexpr char kGestureEducationNotificationShown[] =
+    "ash.gesture_education.notification_shown";
+#endif
+
 // Register local state used only for migration (clearing or moving to a new
 // key).
 void RegisterLocalStatePrefsForMigration(PrefRegistrySimple* registry) {
@@ -1041,6 +1047,11 @@
   registry->RegisterDictionaryPref(kSwReporter);
   registry->RegisterDictionaryPref(kChromeCleaner);
 #endif
+
+  // Deprecated 09/2023.
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+  registry->RegisterBooleanPref(kGestureEducationNotificationShown, true);
+#endif
 }
 
 // Register prefs used only for migration (clearing or moving to a new key).
@@ -2113,6 +2124,11 @@
   local_state->ClearPref(kChromeCleaner);
 #endif
 
+// Added 09/2023.
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+  local_state->ClearPref(kGestureEducationNotificationShown);
+#endif
+
   // Please don't delete the following line. It is used by PRESUBMIT.py.
   // END_MIGRATE_OBSOLETE_LOCAL_STATE_PREFS