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

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

Issue 2704383006: arc: Handle metrics for Auth operations. (Closed)
Patch Set: update histogram.xml to match change Arc.Auth to ArcAuth Created 3 years, 10 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
Index: chrome/browser/chromeos/arc/arc_optin_uma.h
diff --git a/chrome/browser/chromeos/arc/arc_optin_uma.h b/chrome/browser/chromeos/arc/arc_optin_uma.h
index d73764406e6c8f2a51aa0a36100031c1a5433ec2..e026a432d0ac1f36233daafa5012b3ba88d16756 100644
--- a/chrome/browser/chromeos/arc/arc_optin_uma.h
+++ b/chrome/browser/chromeos/arc/arc_optin_uma.h
@@ -121,6 +121,8 @@ void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time,
bool success,
bool managed);
void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state);
+void UpdateAuthTiming(const char* histogram_name, base::TimeDelta elapsed_time);
+void UpdateAuthAttempts(const char* histogram_name, int32_t value);
// Outputs the stringified |result| to |os|. This is only for logging purposes.
std::ostream& operator<<(std::ostream& os, const ProvisioningResult& result);

Powered by Google App Engine
This is Rietveld 408576698