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

Unified Diff: chrome/browser/signin/signin_global_error.cc

Issue 777143003: Clean up straggler classes to use embedded signin in page in the new profiles world. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/chrome_pages.cc » ('j') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_global_error.cc
diff --git a/chrome/browser/signin/signin_global_error.cc b/chrome/browser/signin/signin_global_error.cc
index 2c98019561c04273d21b0a15ef75f06db4cf6d4b..87970b7cc108214c4bbc4a1a843e43a0608f643e 100644
--- a/chrome/browser/signin/signin_global_error.cc
+++ b/chrome/browser/signin/signin_global_error.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/signin/signin_global_error.h"
#include "base/logging.h"
+#include "base/metrics/histogram_macros.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/signin_header_helper.h"
@@ -27,6 +28,7 @@
#if !defined(OS_ANDROID) && !defined(OS_IOS)
#include "chrome/browser/signin/signin_promo.h"
+#include "chrome/browser/ui/sync/signin_histogram.h"
#endif
SigninGlobalError::SigninGlobalError(
@@ -101,6 +103,9 @@ void SigninGlobalError::ExecuteMenuItem(Browser* browser) {
return;
}
+ UMA_HISTOGRAM_ENUMERATION("Signin.Reauth",
+ signin::HISTOGRAM_SHOWN,
+ signin::HISTOGRAM_MAX);
if (switches::IsNewAvatarMenu()) {
browser->window()->ShowAvatarBubbleFromAvatarButton(
BrowserWindow::AVATAR_BUBBLE_MODE_REAUTH,
« no previous file with comments | « no previous file | chrome/browser/ui/chrome_pages.cc » ('j') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698