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

Unified Diff: ui/login/account_picker/user_pod_row.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 | « chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/account_picker/user_pod_row.js
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
index fd99a5547ce636a341cfa33911a48c4b81eed061..2ad71bd6b1920f1111fc66d942d9045a7bd6d939 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -1961,13 +1961,13 @@ cr.define('login', function() {
/** @override */
activate: function(e) {
if (!this.user.needsSignin) {
- Oobe.launchUser(this.user.emailAddress, this.user.displayName);
+ Oobe.launchUser(this.user.profilePath);
} else if (!this.passwordElement.value) {
return false;
} else {
chrome.send('authenticatedLaunchUser',
- [this.user.emailAddress,
- this.user.displayName,
+ [this.user.profilePath,
+ this.user.emailAddress,
this.passwordElement.value]);
}
this.passwordElement.value = '';
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698