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

Unified Diff: remoting/webapp/base/js/application.js

Issue 981083002: [Chromoting] Move ownership of ClientPlugin into SessionConnector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/webapp/browser_test/mock_session_connector.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/application.js
diff --git a/remoting/webapp/base/js/application.js b/remoting/webapp/base/js/application.js
index 5ba56f8ff67d633b771aa6e00b1c5ea0fa0bfe2b..4d89ac0b64c4f72880954b99513df5d7bcf93277 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
*/
@@ -121,7 +108,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)),
« no previous file with comments | « no previous file | remoting/webapp/browser_test/mock_session_connector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698