| Index: chrome/browser/resources/gaia_auth/success.js
|
| diff --git a/chrome/browser/resources/gaia_auth/success.js b/chrome/browser/resources/gaia_auth/success.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..54ed7fac614cb744125d07c20d37e0ccdd70da78
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/gaia_auth/success.js
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +function load() {
|
| + var params = getUrlSearchParams(location.search);
|
| + var msg = {
|
| + 'method': 'confirmLogin',
|
| + 'attemptToken': params['attemptToken']
|
| + };
|
| + window.parent.postMessage(msg,
|
| + 'chrome-extension://mfffpogegjflfpflabcdkioaeobkgjik/main.html');
|
| +}
|
| +
|
| +document.addEventListener('DOMContentLoaded', load);
|
| +
|
|
|