arc: Remove native_bridge_64bit_support_experiment
native_bridge_64bit_support_experiment has expired, and is no longer
useful. Remove the flag and the associated code.
BUG=b:233107740
TEST=ARC boots
Change-Id: Idae7ee3025aae2a586313401b5d8a1512d1bad51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3656433
Reviewed-by: Gabriel Charette <[email protected]>
Reviewed-by: Yuichiro Hanada <[email protected]>
Commit-Queue: Josh Horwich <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1008015}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 10ed54b..8f3e3bc 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -750,6 +750,12 @@
const char kColorModeThemed[] = "ash.dark_mode.color_mode_themed";
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+// Deprecated 05/2022.
+const char kNativeBridge64BitSupportExperimentEnabled[] =
+ "arc.native_bridge_64bit_support_experiment";
+#endif // BUILDFLAG(IS_CHROMEOS_ASH)
+
// Register local state used only for migration (clearing or moving to a new
// key).
void RegisterLocalStatePrefsForMigration(PrefRegistrySimple* registry) {
@@ -798,6 +804,11 @@
#if !BUILDFLAG(IS_ANDROID)
registry->RegisterIntegerPref(kStabilityRendererLaunchCount, 0);
#endif // !BUILDFLAG(IS_ANDROID)
+
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+ registry->RegisterBooleanPref(kNativeBridge64BitSupportExperimentEnabled,
+ false);
+#endif // BUILDFLAG(IS_CHROMEOS_ASH)
}
// Register prefs used only for migration (clearing or moving to a new key).
@@ -1652,6 +1663,11 @@
local_state->ClearPref(prefs::kTabFreezingEnabled);
#endif
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+ // Added 05/2022.
+ local_state->ClearPref(kNativeBridge64BitSupportExperimentEnabled);
+#endif // BUILDFLAG(IS_CHROMEOS_ASH)
+
// Please don't delete the following line. It is used by PRESUBMIT.py.
// END_MIGRATE_OBSOLETE_LOCAL_STATE_PREFS