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

Unified Diff: chrome/browser/ui/webui/signin/inline_login_handler.cc

Issue 2411883002: Don't record Signin_Signin_From* user actions for re-auth, unlock and adding secondary account (Closed)
Patch Set: Created 4 years, 2 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/resources/inline_login/inline_login.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/inline_login_handler.cc
diff --git a/chrome/browser/ui/webui/signin/inline_login_handler.cc b/chrome/browser/ui/webui/signin/inline_login_handler.cc
index 3f7b633eb371c34f8258d3edc9c1ee0058706b3a..e9a1901b1f62cc49d03d0a291a49da3c87621d27 100644
--- a/chrome/browser/ui/webui/signin/inline_login_handler.cc
+++ b/chrome/browser/ui/webui/signin/inline_login_handler.cc
@@ -198,13 +198,14 @@ void InlineLoginHandler::ContinueHandleInitializeMessage() {
signin_metrics::Reason reason =
signin::GetSigninReasonForPromoURL(current_url);
- if (reason != signin_metrics::Reason::REASON_REAUTHENTICATION ||
- reason != signin_metrics::Reason::REASON_UNLOCK ||
+ if (reason != signin_metrics::Reason::REASON_REAUTHENTICATION &&
+ reason != signin_metrics::Reason::REASON_UNLOCK &&
reason != signin_metrics::Reason::REASON_ADD_SECONDARY_ACCOUNT) {
Roger Tawa OOO till Jul 10th 2016/10/12 15:16:45 Instead of checking for not reauth|unlock|add-seco
gogerald1 2016/10/12 15:21:30 I think we might have to record it since if the re
signin_metrics::LogSigninAccessPointStarted(access_point);
+ RecordSigninUserActionForAccessPoint(access_point);
+ content::RecordAction(base::UserMetricsAction("Signin_SigninPage_Loading"));
+ params.SetBoolean("isLoginPrimaryAccount", true);
}
- RecordSigninUserActionForAccessPoint(access_point);
- content::RecordAction(base::UserMetricsAction("Signin_SigninPage_Loading"));
params.SetString("continueUrl", signin::GetLandingURL(access_point).spec());
« no previous file with comments | « chrome/browser/resources/inline_login/inline_login.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698