Add Enterprise policy to disable FormControlsRefresh feature
This CL adds an Enterprise Policy, UseLegacyFormControls, which
will allow enterprise customers to opt out of the new
FormControlsRefresh feature for a few milestones, in case of
problems.
Bug: 1054511
Change-Id: I9982335da17dd1323e09798c613d30d446ffd227
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076758
Reviewed-by: Roman Sorokin [CET] <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/master@{#745103}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 1965d77..d7ea042 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -84,6 +84,7 @@
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/webauthn/chrome_authenticator_request_delegate.h"
#include "chrome/common/buildflags.h"
+#include "chrome/common/chrome_ui_features_prefs.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/secure_origin_whitelist.h"
#include "chrome/common/web_components_prefs.h"
@@ -838,6 +839,7 @@
chrome_browser_net::NetErrorTabHelper::RegisterProfilePrefs(registry);
chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry);
chrome_prefs::RegisterProfilePrefs(registry);
+ chrome_ui_features_prefs::RegisterProfilePrefs(registry);
DocumentProvider::RegisterProfilePrefs(registry);
dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry);
dom_distiller::RegisterProfilePrefs(registry);