Chromium Code Reviews| Index: remoting/webapp/crd/js/session_connector_impl.js |
| diff --git a/remoting/webapp/crd/js/session_connector_impl.js b/remoting/webapp/crd/js/session_connector_impl.js |
| index a14d3a8b7351915abc569fffe6af4f8e27077f0a..b8d070cbd70a550ca1fce19ac4412838cd88a19e 100644 |
| --- a/remoting/webapp/crd/js/session_connector_impl.js |
| +++ b/remoting/webapp/crd/js/session_connector_impl.js |
| @@ -110,7 +110,7 @@ remoting.SessionConnectorImpl.prototype.resetConnection_ = function() { |
| /** @private {remoting.DesktopConnectedView} */ |
| this.connectedView_ = null; |
| - /** @private {XMLHttpRequest} */ |
| + /** @private {remoting.Xhr} */ |
| this.pendingXhr_ = null; |
| /** @private {remoting.CredentialsProvider} */ |
| @@ -331,10 +331,12 @@ remoting.SessionConnectorImpl.prototype.createSession_ = function() { |
| this.host_.options.load().then(function(){ |
| that.plugin_.initialize(that.onPluginInitialized_.bind(that)); |
| }); |
| + this.pendingXhr_.then(this.onIT2MeHostInfo_.bind(this, hostId)); |
|
Jamie
2015/03/16 18:06:34
Why has this been deleted entirely?
John Williams
2015/03/16 23:15:00
It was deleted in the master branch. I'm trying t
|
| }; |
| /** |
| * @param {boolean} initialized |
| + * support-hosts query. |
| * @private |
| */ |
| remoting.SessionConnectorImpl.prototype.onPluginInitialized_ = function( |