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

Unified Diff: chrome/browser/resources/gaia_auth/success.js

Issue 671183002: Revert of Inline sign in extracts gaia id from HTTP header and seeds account tracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
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);
+
« no previous file with comments | « chrome/browser/resources/gaia_auth/success.html ('k') | chrome/browser/resources/gaia_auth_host/gaia_auth_host.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698