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

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: Fixes 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
« no previous file with comments | « chrome/browser/chromeos/login/user_manager_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..79e3cc6eb50769c8675d00f6fad55211a083c7de 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,8 @@ AvatarMenuActionsChromeOS::~AvatarMenuActionsChromeOS() {
void AvatarMenuActionsChromeOS::AddNewProfile(ProfileMetrics::ProfileAdd type) {
// Let the user add another account to the session.
+ ash::MultiProfileUMA::RecordSigninUser(
+ ash::MultiProfileUMA::SIGNIN_USER_BY_BROWSER_FRAME);
ash::Shell::GetInstance()->system_tray_delegate()->ShowUserLogin();
}
« no previous file with comments | « chrome/browser/chromeos/login/user_manager_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698