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

Unified Diff: chrome/browser/resources/user_manager/user_manager.js

Issue 840673004: The User Manager needs to use profile paths not display names for profile switching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests on windows too. paths. sigh. Created 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/user_manager_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/user_manager/user_manager.js
diff --git a/chrome/browser/resources/user_manager/user_manager.js b/chrome/browser/resources/user_manager/user_manager.js
index 3cca699c7bcb1cf046204c405b3f9306a0604ef9..39d76d4764abe302a71089b17d7563c0322f5290 100644
--- a/chrome/browser/resources/user_manager/user_manager.js
+++ b/chrome/browser/resources/user_manager/user_manager.js
@@ -58,11 +58,10 @@ cr.define('cr.ui', function() {
/**
* Open a new browser for the given profile.
- * @param {string} email The user's email, if signed in.
- * @param {string} displayName The user's display name.
+ * @param {string} profilePath The profile's path.
*/
- Oobe.launchUser = function(email, displayName) {
- chrome.send('launchUser', [email, displayName]);
+ Oobe.launchUser = function(profilePath) {
+ chrome.send('launchUser', [profilePath]);
};
/**
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/user_manager_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698