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

Unified Diff: chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/ui/ash/launcher/multi_profile_browser_status_monitor.cc
diff --git a/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc b/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc
index 72095f4c785ca93aa2d892898184572f117b2b0a..3f87c58218ef83a22095f474d1ad8c5d8ada1ee7 100644
--- a/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc
+++ b/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc
@@ -29,7 +29,7 @@ MultiProfileBrowserStatusMonitor::~MultiProfileBrowserStatusMonitor() {
}
void MultiProfileBrowserStatusMonitor::ActiveUserChanged(
- const std::string& user_email) {
+ const user_manager::UserID& user_id) {
// Handle windowed apps.
for (AppList::iterator it = app_list_.begin(); it != app_list_.end(); ++it) {
bool owned = multi_user_util::IsProfileFromActiveUser((*it)->profile());

Powered by Google App Engine
This is Rietveld 408576698