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

Unified Diff: chrome/browser/ui/auto_login_infobar_delegate.cc

Issue 258093003: Fix Android not tracking all AutoLogin metrics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix styling nit Created 6 years, 8 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/ui/auto_login_infobar_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/auto_login_infobar_delegate.cc
diff --git a/chrome/browser/ui/auto_login_infobar_delegate.cc b/chrome/browser/ui/auto_login_infobar_delegate.cc
index ff5ae8cd0538287d1147f80a9854525d240842da..11490295776ca2074562952cc3719ce6f92b2328 100644
--- a/chrome/browser/ui/auto_login_infobar_delegate.cc
+++ b/chrome/browser/ui/auto_login_infobar_delegate.cc
@@ -179,6 +179,11 @@ AutoLoginInfoBarDelegate::~AutoLoginInfoBarDelegate() {
RecordHistogramAction(IGNORED);
}
+void AutoLoginInfoBarDelegate::RecordHistogramAction(Actions action) {
+ UMA_HISTOGRAM_ENUMERATION("AutoLogin.Regular", action,
+ HISTOGRAM_BOUNDING_VALUE);
+}
+
void AutoLoginInfoBarDelegate::InfoBarDismissed() {
RecordHistogramAction(DISMISSED);
button_pressed_ = true;
@@ -233,8 +238,3 @@ bool AutoLoginInfoBarDelegate::Cancel() {
void AutoLoginInfoBarDelegate::GoogleSignedOut(const std::string& username) {
infobar()->RemoveSelf();
}
-
-void AutoLoginInfoBarDelegate::RecordHistogramAction(Actions action) {
- UMA_HISTOGRAM_ENUMERATION("AutoLogin.Regular", action,
- HISTOGRAM_BOUNDING_VALUE);
-}
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698