Add app platform metrics service.
Add app platform metrics service to check if a new day has arrived, and
initialize and control app platform metric recorders per day in
Chrome OS.
There will be follow up CLs to add the app installation and running time
metrics (e.g. CL:2850234).
BUG=1200185
Change-Id: Icb007357d692cdb4884c7d4d90b62ca40c2f79a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2850017
Reviewed-by: Dominick Ng <[email protected]>
Reviewed-by: Dominic Battré <[email protected]>
Commit-Queue: Nancy Wang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#876919}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index d8fa4d01..2bc65a0 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -1086,6 +1086,7 @@
#if BUILDFLAG(IS_CHROMEOS_ASH)
app_list::AppListSyncableService::RegisterProfilePrefs(registry);
app_list::ArcAppReinstallSearchProvider::RegisterProfilePrefs(registry);
+ apps::AppPlatformMetricsService::RegisterProfilePrefs(registry);
arc::prefs::RegisterProfilePrefs(registry);
ArcAppListPrefs::RegisterProfilePrefs(registry);
certificate_manager::CertificatesHandler::RegisterProfilePrefs(registry);