Reland "Stop generating code for policies that are no longer needed"

This is a reland of commit 93ceb76d1ba936ae1d8b8c79ff509a4bbc16340f

Original change's description:
> Stop generating code for policies that are no longer needed
>
> Also remove NativePrinters, U2fSecurityKeyApiEnabled and
> CloudPrintSubmitEnabled which are deprecated.
>
> Bug: 223616
> Change-Id: Ib07be4d5b0df73bd42d47432df6e1e33877be3e9
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3669521
> Reviewed-by: Martin Kreichgauer <[email protected]>
> Reviewed-by: Finnur Thorarinsson <[email protected]>
> Reviewed-by: Maksim Ivanov <[email protected]>
> Reviewed-by: Scott Violet <[email protected]>
> Reviewed-by: Owen Min <[email protected]>
> Commit-Queue: Yann Dago <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1011023}

Bug: 223616
Change-Id: I6d9669de95a46b96475f0f61082e91becc265d79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3702759
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Owen Min <[email protected]>
Reviewed-by: Maksim Ivanov <[email protected]>
Reviewed-by: Finnur Thorarinsson <[email protected]>
Reviewed-by: Martin Kreichgauer <[email protected]>
Commit-Queue: Yann Dago <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1018322}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 4a6a777..fa0e4ca 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -180,6 +180,7 @@
 #include "extensions/browser/api/runtime/runtime_api.h"
 #include "extensions/browser/extension_prefs.h"
 #include "extensions/browser/permissions_manager.h"
+#include "extensions/browser/pref_names.h"
 #if BUILDFLAG(IS_CHROMEOS_ASH)
 #include "chrome/browser/ash/attestation/tpm_challenge_key.h"
 #include "chrome/browser/ash/crosapi/browser_data_migrator.h"
@@ -1947,6 +1948,12 @@
   profile_prefs->ClearPref(kImprovedShortcutsNotificationShownCount);
 #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
 
+  // Added 06/2022.
+#if BUILDFLAG(ENABLE_EXTENSIONS)
+  profile_prefs->ClearPref(extensions::pref_names::kU2fSecurityKeyApiEnabled);
+#endif
+  profile_prefs->ClearPref(prefs::kCloudPrintSubmitEnabled);
+
   // Please don't delete the following line. It is used by PRESUBMIT.py.
   // END_MIGRATE_OBSOLETE_PROFILE_PREFS