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

Unified Diff: chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.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/multi_profile_app_window_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.h b/chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.h
index d998ab64d677341fad79259142fbae59ae168a1c..4644b088939aa05e31ef0070482468780f90506d 100644
--- a/chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.h
@@ -7,6 +7,10 @@
#include "chrome/browser/ui/ash/launcher/app_window_launcher_controller.h"
+namespace user_manager {
+class UserID;
+}
+
// Inherits from AppWindowLauncherController and overwrites the AppWindow
// observing functions to switch between users dynamically.
class MultiProfileAppWindowLauncherController
@@ -17,7 +21,7 @@ class MultiProfileAppWindowLauncherController
~MultiProfileAppWindowLauncherController() override;
// Overridden from AppWindowLauncherController:
- void ActiveUserChanged(const std::string& user_email) override;
+ void ActiveUserChanged(const user_manager::UserID& user_id) override;
void AdditionalUserAddedToSession(Profile* profile) override;
// Overridden from AppWindowRegistry::Observer:

Powered by Google App Engine
This is Rietveld 408576698