| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 /** | 137 /** |
| 138 * Notifies this object that WCS is ready. | 138 * Notifies this object that WCS is ready. |
| 139 * | 139 * |
| 140 * @return {void} Nothing. | 140 * @return {void} Nothing. |
| 141 * @private | 141 * @private |
| 142 */ | 142 */ |
| 143 remoting.WcsLoader.prototype.onWcsReady_ = function() { | 143 remoting.WcsLoader.prototype.onWcsReady_ = function() { |
| 144 this.loadState_ = this.LoadState_.READY; | 144 this.loadState_ = this.LoadState_.READY; |
| 145 this.onReady_(true); | 145 this.onReady_(true); |
| 146 this.onReady_ = function() {}; | 146 this.onReady_ = function(success) {}; |
| 147 }; | 147 }; |
| OLD | NEW |