Index: remoting/webapp/base/js/application.js |
diff --git a/remoting/webapp/base/js/application.js b/remoting/webapp/base/js/application.js |
index d270cc9f989c953b75d47f41ecd35ea5e7f6494f..1aaf036cde5164d907dac14d79f8a2a9a74a6c02 100644 |
--- a/remoting/webapp/base/js/application.js |
+++ b/remoting/webapp/base/js/application.js |
@@ -13,19 +13,6 @@ |
var remoting = remoting || {}; |
/** |
- * @type {remoting.ClientSession} The client session object, set once the |
- * connector has invoked its onOk callback. |
- * TODO(garykac): Make clientSession a member var of Application. |
- */ |
-remoting.clientSession = null; |
- |
-/** |
- * @type {remoting.DesktopConnectedView} The client session view object, set |
- * once the connector has invoked its onOk callback. |
- */ |
-remoting.desktopConnectedView = null; |
- |
-/** |
* @param {Array<string>} app_capabilities Array of application capabilities. |
* @constructor |
*/ |
@@ -124,7 +111,6 @@ remoting.Application.prototype.disconnect = function() { |
* @return {void} Nothing. |
*/ |
remoting.Application.prototype.onConnected = function(clientSession) { |
- remoting.clientSession = clientSession; |
this.sessionConnectedHooks_ = new base.Disposables( |
new base.EventHook( |
clientSession, 'stateChanged', this.onClientStateChange_.bind(this)), |