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

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

Issue 2373473003: Separate ARC++ Provisioning Histogram into managed and unmanaged (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | chrome/browser/chromeos/arc/arc_optin_uma.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_auth_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index 4dcffbf9739585cdedeb6562221a6f02f6a08b41..b3ea5b026bbde37f8b02663ea7fbf4ececec31c7 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -331,7 +331,8 @@ void ArcAuthService::OnSignInComplete() {
CloseUI();
UpdateProvisioningTiming(base::Time::Now() - sign_in_time_, true,
IsAccountManaged(profile_));
- UpdateProvisioningResultUMA(ProvisioningResult::SUCCESS);
+ UpdateProvisioningResultUMA(ProvisioningResult::SUCCESS,
+ IsAccountManaged(profile_));
FOR_EACH_OBSERVER(Observer, observer_list_, OnInitialStart());
}
@@ -351,7 +352,7 @@ void ArcAuthService::OnSignInFailedInternal(ProvisioningResult result) {
UpdateProvisioningTiming(base::Time::Now() - sign_in_time_, false,
IsAccountManaged(profile_));
UpdateOptInCancelUMA(OptInCancelReason::CLOUD_PROVISION_FLOW_FAIL);
- UpdateProvisioningResultUMA(result);
+ UpdateProvisioningResultUMA(result, IsAccountManaged(profile_));
int error_message_id;
switch (result) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_optin_uma.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698