Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: chrome/browser/chromeos/arc/arc_optin_uma.cc

Issue 2785813002: arc: Provide UMA for OptIn flow. (Closed)
Patch Set: comment added Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/arc/arc_optin_uma.h ('k') | chrome/browser/chromeos/arc/arc_session_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_optin_uma.cc
diff --git a/chrome/browser/chromeos/arc/arc_optin_uma.cc b/chrome/browser/chromeos/arc/arc_optin_uma.cc
index cdd627cc1d305bdfcaa19e7f1238a6ca913ce539..b7283f839838831a6df7c4a0830857bbec527413 100644
--- a/chrome/browser/chromeos/arc/arc_optin_uma.cc
+++ b/chrome/browser/chromeos/arc/arc_optin_uma.cc
@@ -25,6 +25,11 @@ void UpdateEnabledStateUMA(bool enabled) {
UMA_HISTOGRAM_BOOLEAN("Arc.State", enabled);
}
+void UpdateOptInFlowResultUMA(OptInFlowResult result) {
+ UMA_HISTOGRAM_ENUMERATION("Arc.OptInResult", static_cast<int>(result),
+ static_cast<int>(OptInFlowResult::SIZE));
+}
+
void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed) {
DCHECK_NE(result, ProvisioningResult::CHROME_SERVER_COMMUNICATION_ERROR);
std::string histogram_name = "Arc.Provisioning.Result.";
« no previous file with comments | « chrome/browser/chromeos/arc/arc_optin_uma.h ('k') | chrome/browser/chromeos/arc/arc_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698