| OLD | NEW |
| 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 | 5 |
| 6 /** | 6 /** |
| 7 * @fileoverview | 7 * @fileoverview |
| 8 * A class that loads a WCS IQ client and constructs remoting.wcs as a | 8 * A class that loads a WCS IQ client and constructs remoting.wcs as a |
| 9 * wrapper for it. | 9 * wrapper for it. |
| 10 */ | 10 */ |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 * an OAuth2 access token when WCS has been loaded, or with null on error. | 123 * an OAuth2 access token when WCS has been loaded, or with null on error. |
| 124 * @return {void} Nothing. | 124 * @return {void} Nothing. |
| 125 * @private | 125 * @private |
| 126 */ | 126 */ |
| 127 remoting.WcsLoader.prototype.constructWcs_ = function(token, onReady) { | 127 remoting.WcsLoader.prototype.constructWcs_ = function(token, onReady) { |
| 128 remoting.wcs = new remoting.Wcs( | 128 remoting.wcs = new remoting.Wcs( |
| 129 remoting.wcsLoader.wcsIqClient, | 129 remoting.wcsLoader.wcsIqClient, |
| 130 token, | 130 token, |
| 131 function() { onReady(token); }); | 131 function() { onReady(token); }); |
| 132 }; | 132 }; |
| OLD | NEW |