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

Side by Side Diff: chrome/browser/resources/gaia_auth_host/saml_injected.js

Issue 2686683002: Deprecate most of gaia_auth extension (Closed)
Patch Set: remove unused data member from GaiaAuthExtensionLoader Created 3 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Script to be injected into SAML provider pages, serving three main purposes: 7 * Script to be injected into SAML provider pages, serving three main purposes:
8 * 1. Signal hosting extension that an external page is loaded so that the 8 * 1. Signal hosting extension that an external page is loaded so that the
9 * UI around it should be changed accordingly; 9 * UI around it should be changed accordingly;
10 * 2. Provide an API via which the SAML provider can pass user credentials to 10 * 2. Provide an API via which the SAML provider can pass user credentials to
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 209 }
210 210
211 var channel = Channel.create(); 211 var channel = Channel.create();
212 channel.connect('injected'); 212 channel.connect('injected');
213 channel.sendWithCallback({name: 'getSAMLFlag'}, 213 channel.sendWithCallback({name: 'getSAMLFlag'},
214 onGetSAMLFlag.bind(undefined, channel)); 214 onGetSAMLFlag.bind(undefined, channel));
215 215
216 var apiCallForwarder = new APICallForwarder(); 216 var apiCallForwarder = new APICallForwarder();
217 apiCallForwarder.init(channel); 217 apiCallForwarder.init(channel);
218 })(); 218 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698