| Index: chrome/browser/resources/chromeos/login/screen_gaia_signin.js
|
| diff --git a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
|
| index e05e866219a63a6d5a780bb322074f8b6794fecf..ecbd3be89874217c8cbc85101c755b9e2b5d81e7 100644
|
| --- a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
|
| +++ b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
|
| @@ -33,7 +33,6 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
|
| 'onFrameError',
|
| 'updateCancelButtonState',
|
| 'showWhitelistCheckFailedError',
|
| - 'updateDeviceId',
|
| ],
|
|
|
| /**
|
| @@ -153,8 +152,6 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
|
| 'backButton', this.onBackButton_.bind(this));
|
| this.gaiaAuthHost_.addEventListener(
|
| 'showView', this.onShowView_.bind(this));
|
| - this.gaiaAuthHost_.addEventListener('attemptLogin',
|
| - this.onAttemptLogin_.bind(this));
|
| this.gaiaAuthHost_.confirmPasswordCallback =
|
| this.onAuthConfirmPassword_.bind(this);
|
| this.gaiaAuthHost_.noPasswordCallback =
|
| @@ -638,16 +635,6 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
|
| },
|
|
|
| /**
|
| - * Invoked when the auth host emits 'attemptLogin' event.
|
| - * @param {Object} Message object with |detail| field keeping email:
|
| - * like {detail: 'user@gmail.com'} .
|
| - * @private
|
| - */
|
| - onAttemptLogin_: function(e) {
|
| - chrome.send('attemptLogin', [e.detail]);
|
| - },
|
| -
|
| - /**
|
| * Invoked when the user has successfully authenticated via SAML, the
|
| * principals API was not used and the auth host needs the user to confirm
|
| * the scraped password.
|
| @@ -755,8 +742,7 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
|
| credentials.email,
|
| credentials.password,
|
| credentials.authCode,
|
| - credentials.usingSAML,
|
| - credentials.deviceId
|
| + credentials.usingSAML
|
| ]);
|
| }
|
| } else {
|
| @@ -961,18 +947,6 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
|
|
|
| if (!show)
|
| Oobe.showSigninUI();
|
| - },
|
| -
|
| - /**
|
| - * Inform Gaia of new deviceId.
|
| - * @param {data} Object like {'deviceId': 'test-device-id'}
|
| - */
|
| - updateDeviceId: function(data) {
|
| - if (!this.isNewGaiaFlow)
|
| - return;
|
| -
|
| - if (data && data.deviceId)
|
| - this.gaiaAuthHost_.updateDeviceId(data.deviceId);
|
| - },
|
| + }
|
| };
|
| });
|
|
|