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

Unified Diff: trunk/src/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc

Issue 260783002: Revert 267158 "CleanUp: Introduce UserInfo. Move session_state s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc
===================================================================
--- trunk/src/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc (revision 267249)
+++ trunk/src/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc (working copy)
@@ -10,8 +10,7 @@
#if defined(OS_CHROMEOS)
#include "ash/ash_switches.h"
#include "ash/multi_profile_uma.h"
-#include "ash/session/session_state_delegate.h"
-#include "ash/session/user_info.h"
+#include "ash/session_state_delegate.h"
#include "ash/shell.h"
#include "ash/shell_delegate.h"
#include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h"
@@ -42,11 +41,8 @@
ash::MultiProfileUMA::SESSION_SINGLE_USER_MODE;
if (!g_instance &&
ash::Shell::GetInstance()->delegate()->IsMultiProfilesEnabled()) {
- g_instance =
- new MultiUserWindowManagerChromeOS(ash::Shell::GetInstance()
- ->session_state_delegate()
- ->GetUserInfo(0)
- ->GetUserID());
+ g_instance = new MultiUserWindowManagerChromeOS(
+ ash::Shell::GetInstance()->session_state_delegate()->GetUserID(0));
multi_user_mode_ = MULTI_PROFILE_MODE_SEPARATED;
mode = ash::MultiProfileUMA::SESSION_SEPARATE_DESKTOP_MODE;
} else if (ash::Shell::GetInstance()->delegate()->IsMultiProfilesEnabled()) {

Powered by Google App Engine
This is Rietveld 408576698