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

Unified Diff: chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.cc

Issue 25098009: Log UMA metrics for multiprofile actions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
Index: chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.cc
diff --git a/chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.cc b/chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.cc
index fd27cd41130c7722446017b5460cbb2e2a3e56f8..fd7bb114a2e861212eb4ebfb435309ac48bcd62c 100644
--- a/chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.cc
+++ b/chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.h"
+#include "ash/multi_profile_uma.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray_delegate.h"
#include "chrome/browser/chromeos/login/user_manager.h"
@@ -25,6 +26,7 @@ AvatarMenuActionsChromeOS::~AvatarMenuActionsChromeOS() {
void AvatarMenuActionsChromeOS::AddNewProfile(ProfileMetrics::ProfileAdd type) {
// Let the user add another account to the session.
+ ash::MultiProfileUMA::RecordSigninUserFromBrowserFrame();
ash::Shell::GetInstance()->system_tray_delegate()->ShowUserLogin();
}

Powered by Google App Engine
This is Rietveld 408576698