Sync CrosSettings with Pref for KioskHeartbeat Events

The new implementation of sending KioskHeartbeat Events via ERP and the
MetricCollector requires the CrosSetting for KioskHeartbeatEnabled
synced to Prefs as Prefs are pulled on MetricCollector side enablement.
This change keeps Prefs in sync with changes on CrosSettings.

Bug: 316127786
Change-Id: I570239503e2d5294ed20277dd30969a096dfb2ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5119733
Code-Coverage: [email protected] <[email protected]>
Reviewed-by: Alex Ilin <[email protected]>
Commit-Queue: Marc Grimme <[email protected]>
Reviewed-by: Leonid Baraz <[email protected]>
Reviewed-by: Sergey Poromov <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1245871}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 58ca863..9e6281d6 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -1518,6 +1518,7 @@
       registry);
   ash::login::SecurityTokenSessionController::RegisterLocalStatePrefs(registry);
   ash::reporting::LoginLogoutReporter::RegisterPrefs(registry);
+  ash::reporting::RegisterLocalStatePrefs(registry);
   ash::MultiProfileUserController::RegisterPrefs(registry);
   ash::NetworkMetadataStore::RegisterPrefs(registry);
   ash::NetworkThrottlingObserver::RegisterPrefs(registry);