Add Arc.AppRequestedInSession metrics.
This starts to record whether a user tries to launch ARC app in the session.
The record is stored in PrefService in the session, and then UMA is
updated in the next session, in order to deal with unexpected sudden
shutdown etc.
BUG=b/299389067
TEST=Tryjob
Change-Id: Ic26cc03d5adf98983e7ecbffd58f4dcf7f847658
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4867973
Reviewed-by: Youkichi Hosoi <[email protected]>
Reviewed-by: Lei Zhang <[email protected]>
Reviewed-by: Yury Khmel <[email protected]>
Auto-Submit: Hidehiko Abe <[email protected]>
Commit-Queue: Hidehiko Abe <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1198189}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 3efc2e8..26226f4 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -339,6 +339,7 @@
#include "chrome/browser/ash/app_mode/web_app/web_kiosk_app_manager.h"
#include "chrome/browser/ash/app_restore/full_restore_prefs.h"
#include "chrome/browser/ash/apps/apk_web_app_service.h"
+#include "chrome/browser/ash/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h"
#include "chrome/browser/ash/arc/policy/arc_policy_bridge.h"
#include "chrome/browser/ash/arc/session/arc_session_manager.h"
#include "chrome/browser/ash/bluetooth/debug_logs_manager.h"
@@ -1792,6 +1793,7 @@
apps::webapk_prefs::RegisterProfilePrefs(registry);
arc::prefs::RegisterProfilePrefs(registry);
ArcAppListPrefs::RegisterProfilePrefs(registry);
+ arc::ArcBootPhaseMonitorBridge::RegisterProfilePrefs(registry);
ash::AccountAppsAvailability::RegisterPrefs(registry);
account_manager::AccountManager::RegisterPrefs(registry);
ash::ApkWebAppService::RegisterProfilePrefs(registry);