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

Unified Diff: chrome/browser/ui/ash/launcher/browser_status_monitor.h

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/browser_status_monitor.h
diff --git a/chrome/browser/ui/ash/launcher/browser_status_monitor.h b/chrome/browser/ui/ash/launcher/browser_status_monitor.h
index b0a4e5bda5f9d75982cf1590ea1c19cec073cd27..4ede3114d4c97ea1d75ff2fdb2bf46a7a8bbea70 100644
--- a/chrome/browser/ui/ash/launcher/browser_status_monitor.h
+++ b/chrome/browser/ui/ash/launcher/browser_status_monitor.h
@@ -27,6 +27,10 @@ class ActivationClient;
}
} // namespace aura
+namespace user_manager {
+class UserID;
+}
+
class Browser;
// BrowserStatusMonitor monitors creation/deletion of Browser and its
@@ -45,7 +49,7 @@ class BrowserStatusMonitor : public aura::client::ActivationChangeObserver,
// Note that this function is called by the ChromeLauncherController to be
// able to do the activation in a proper order - rather then setting an
// observer.
- virtual void ActiveUserChanged(const std::string& user_email) {}
+ virtual void ActiveUserChanged(const user_manager::UserID& user_email) {}
// A shortcut to call the ChromeLauncherController's UpdateAppState().
void UpdateAppItemState(content::WebContents* contents,

Powered by Google App Engine
This is Rietveld 408576698