Chromium Code Reviews| Index: chrome/browser/resources/chromeos/login/login_common.js |
| diff --git a/chrome/browser/resources/chromeos/login/login_common.js b/chrome/browser/resources/chromeos/login/login_common.js |
| index e9cca699535237ab29f3e56573149e2ab5b17299..4a60c44ae8a8bbe17d897c77a22bf5b3a94d29d7 100644 |
| --- a/chrome/browser/resources/chromeos/login/login_common.js |
| +++ b/chrome/browser/resources/chromeos/login/login_common.js |
| @@ -285,10 +285,13 @@ cr.define('cr.ui', function() { |
| * @param {string} username Login username. |
| * @param {string} password Login password. |
| */ |
| - Oobe.loginForTesting = function(username, password) { |
| + Oobe.loginForTesting = function(username, password, gaia_id) { |
| Oobe.disableSigninUI(); |
| chrome.send('skipToLoginForTesting', [username]); |
| - chrome.send('completeLogin', ['12345', username, password, false]); |
| + if (!gaia_id) { |
|
achuithb
2015/10/05 19:38:08
Should we add a TODO here to remove this?
gaia_id
Alexander Alekseev
2015/10/05 21:21:27
Done.
|
| + gaia_id = '12345'; |
| + } |
| + chrome.send('completeLogin', [gaia_id, username, password, false]); |
| }; |
| /** |