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

Side by Side Diff: chrome/browser/resources/gaia_auth/main.js

Issue 13872010: cros: Add a header for gaia auth requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, comments in #1 Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function Authenticator() { 5 function Authenticator() {
6 } 6 }
7 7
8 Authenticator.getInstance = function() { 8 Authenticator.getInstance = function() {
9 if (!Authenticator.instance_) { 9 if (!Authenticator.instance_) {
10 Authenticator.instance_ = new Authenticator(); 10 Authenticator.instance_ = new Authenticator();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } else { 110 } else {
111 console.log('#### Authenticator.onMessage: unexpected attemptToken!?'); 111 console.log('#### Authenticator.onMessage: unexpected attemptToken!?');
112 } 112 }
113 } else { 113 } else {
114 console.log('#### Authenticator.onMessage: unknown message + origin!?'); 114 console.log('#### Authenticator.onMessage: unknown message + origin!?');
115 } 115 }
116 } 116 }
117 }; 117 };
118 118
119 Authenticator.getInstance().initialize(); 119 Authenticator.getInstance().initialize();
120
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698