#include <vector>
+#include "base/strings/string_util.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#endif
}
+const std::string& GetCurrentUserId() {
+#if defined(OS_CHROMEOS)
+ return chromeos::UserManager::Get()->GetActiveUser()->email();
+#else
+ return base::EmptyString();
+#endif
+}
+
+// Move the window to the current user's desktop.
+void MoveWindowToCurrentDesktop(aura::Window* window) {
+#if defined(OS_CHROMEOS)
+ chrome::MultiUserWindowManager::GetInstance()->ShowWindowForUser(
+ window,
+ GetCurrentUserId());
+#endif
+}
+
} // namespace multi_user_util