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

Unified Diff: chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.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 | « no previous file | chrome/browser/ui/auto_login_infobar_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc
diff --git a/chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc b/chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc
index 951d489988d8ab80d3dd9305e5320ab710b56479..7b2b8ee7f997608cf9f88931e5ca6ccc18dc0f9a 100644
--- a/chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc
+++ b/chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc
@@ -68,6 +68,7 @@ bool AutoLoginInfoBarDelegateAndroid::Accept() {
reinterpret_cast<intptr_t>(this));
// Do not close the infobar on accept, it will be closed as part
// of the log in callback.
+ RecordHistogramAction(ACCEPTED);
return false;
}
@@ -78,6 +79,7 @@ bool AutoLoginInfoBarDelegateAndroid::Cancel() {
DCHECK(delegate.obj());
Java_AutoLoginDelegate_cancelLogIn(env, delegate.obj(),
reinterpret_cast<intptr_t>(this));
+ RecordHistogramAction(REJECTED);
return true;
}
« no previous file with comments | « no previous file | chrome/browser/ui/auto_login_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698