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

Unified Diff: chrome/browser/ui/ash/multi_user/multi_user_util.h

Issue 149703006: Fixing problem with browser invocations from a visiting files application (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win Created 6 years, 11 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/multi_user/multi_user_util.h
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_util.h b/chrome/browser/ui/ash/multi_user/multi_user_util.h
index 769f15498186bebaca2999bcb5829d57ad6695b3..b85a4589a477eb943ac9a423effdc02250b5daaa 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_util.h
+++ b/chrome/browser/ui/ash/multi_user/multi_user_util.h
@@ -32,6 +32,13 @@ Profile* GetProfileFromWindow(aura::Window* window);
// return false.
bool IsProfileFromActiveUser(Profile* profile);
+// Gets the current user. Note that this will only return for ChromeOS a string.
+// All other operating systems will get an empty string.
+const std::string& GetCurrentUserId();
+
+// Move the window to the current user's desktop.
+void MoveWindowToCurrentDesktop(aura::Window* window);
+
} // namespace multi_user_util
#endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_UTIL_H_
« no previous file with comments | « chrome/browser/chromeos/file_manager/open_with_browser.cc ('k') | chrome/browser/ui/ash/multi_user/multi_user_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698