| Index: chrome/browser/resources/gaia_auth/main.js
|
| diff --git a/chrome/browser/resources/gaia_auth/main.js b/chrome/browser/resources/gaia_auth/main.js
|
| index 8a40128f0cc1003c18e32aed7ff8917f7151a619..7ab4a26da45357e81d0fd9f1b078c84f61645823 100644
|
| --- a/chrome/browser/resources/gaia_auth/main.js
|
| +++ b/chrome/browser/resources/gaia_auth/main.js
|
| @@ -110,6 +110,14 @@ Authenticator.prototype = {
|
| } else {
|
| console.log('#### Authenticator.onMessage: unexpected attemptToken!?');
|
| }
|
| + } else if (msg.method == 'confirmAuthentication' &&
|
| + this.isInternalMessage_(e)) {
|
| + var msg = {
|
| + 'method': 'completeAuthentication',
|
| + 'email': msg.email,
|
| + 'authCode': msg.authCode
|
| + };
|
| + window.parent.postMessage(msg, this.PARENT_PAGE);
|
| } else {
|
| console.log('#### Authenticator.onMessage: unknown message + origin!?');
|
| }
|
|
|