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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper.cc

Issue 300523003: Fix some problems with new reauth: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 6 years, 7 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/signin/signin_promo.cc ('k') | chrome/browser/ui/webui/signin/inline_login_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/one_click_signin_helper.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_helper.cc b/chrome/browser/ui/sync/one_click_signin_helper.cc
index 2c22f61bec970c776d9cabe4e821ed755cdb8724..f953870d1a4c42bfca48038d4b914221e9d64cde 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper.cc
+++ b/chrome/browser/ui/sync/one_click_signin_helper.cc
@@ -749,9 +749,13 @@ void OneClickSigninHelper::LogHistogramValue(
UMA_HISTOGRAM_ENUMERATION("Signin.DevicesPageActions", action,
one_click_signin::HISTOGRAM_MAX);
break;
+ case signin::SOURCE_REAUTH:
+ UMA_HISTOGRAM_ENUMERATION("Signin.ReauthActions", action,
+ one_click_signin::HISTOGRAM_MAX);
+ break;
default:
// This switch statement needs to be updated when the enum Source changes.
- COMPILE_ASSERT(signin::SOURCE_UNKNOWN == 12,
+ COMPILE_ASSERT(signin::SOURCE_UNKNOWN == 13,
kSourceEnumHasChangedButNotThisSwitchStatement);
UMA_HISTOGRAM_ENUMERATION("Signin.UnknownActions", action,
one_click_signin::HISTOGRAM_MAX);
« no previous file with comments | « chrome/browser/signin/signin_promo.cc ('k') | chrome/browser/ui/webui/signin/inline_login_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698