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

Side by Side Diff: ui/login/account_picker/user_pod_row.js

Issue 2559323006: Debug "failed do deserialize"
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « ui/login/account_picker/screen_account_picker.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview User pod row implementation. 6 * @fileoverview User pod row implementation.
7 */ 7 */
8 8
9 cr.define('login', function() { 9 cr.define('login', function() {
10 /** 10 /**
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 } else if (this.isAuthTypeUserClick) { 1403 } else if (this.isAuthTypeUserClick) {
1404 Oobe.disableSigninUI(); 1404 Oobe.disableSigninUI();
1405 this.classList.toggle('signing-in', true); 1405 this.classList.toggle('signing-in', true);
1406 chrome.send('attemptUnlock', [this.user.username]); 1406 chrome.send('attemptUnlock', [this.user.username]);
1407 } else if (this.isAuthTypePassword) { 1407 } else if (this.isAuthTypePassword) {
1408 var pinValue = this.pinKeyboard ? this.pinKeyboard.value : ''; 1408 var pinValue = this.pinKeyboard ? this.pinKeyboard.value : '';
1409 var password = this.passwordElement.value || pinValue; 1409 var password = this.passwordElement.value || pinValue;
1410 if (!password) 1410 if (!password)
1411 return false; 1411 return false;
1412 Oobe.disableSigninUI(); 1412 Oobe.disableSigninUI();
1413 console.error("chrome.send authenticateUser. username='" + this.user.use rname + "'");
1413 chrome.send('authenticateUser', [this.user.username, password, 1414 chrome.send('authenticateUser', [this.user.username, password,
1414 this.isPinShown()]); 1415 this.isPinShown()]);
1415 } else { 1416 } else {
1416 console.error('Activating user pod with invalid authentication type: ' + 1417 console.error('Activating user pod with invalid authentication type: ' +
1417 this.authType); 1418 this.authType);
1418 } 1419 }
1419 1420
1420 return true; 1421 return true;
1421 }, 1422 },
1422 1423
(...skipping 2298 matching lines...) Expand 10 before | Expand all | Expand 10 after
3721 if (pod && pod.multiProfilesPolicyApplied) { 3722 if (pod && pod.multiProfilesPolicyApplied) {
3722 pod.userTypeBubbleElement.classList.remove('bubble-shown'); 3723 pod.userTypeBubbleElement.classList.remove('bubble-shown');
3723 } 3724 }
3724 } 3725 }
3725 }; 3726 };
3726 3727
3727 return { 3728 return {
3728 PodRow: PodRow 3729 PodRow: PodRow
3729 }; 3730 };
3730 }); 3731 });
OLDNEW
« no previous file with comments | « ui/login/account_picker/screen_account_picker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698