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

Unified Diff: remoting/webapp/app_remoting/js/app_remoting.js

Issue 1067133002: Move ProtocolExtensionManager from SessionConnector into its own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: remoting/webapp/app_remoting/js/app_remoting.js
diff --git a/remoting/webapp/app_remoting/js/app_remoting.js b/remoting/webapp/app_remoting/js/app_remoting.js
index 3e7c031d670f9c7b81606ab14a5f9dd78b29910d..c0630c792a5ba6dc9773c9a35f16212f0a2697bd 100644
--- a/remoting/webapp/app_remoting/js/app_remoting.js
+++ b/remoting/webapp/app_remoting/js/app_remoting.js
@@ -214,7 +214,7 @@ remoting.AppRemoting.prototype.onConnected_ = function(connectionInfo) {
JSON.stringify({fullName: userInfo.name}));
});
- this.sessionConnector_.registerProtocolExtension(this);
+ connectionInfo.plugin().extensions().register(this);
this.connectedView_ = new remoting.AppConnectedView(
document.getElementById('client-container'), connectionInfo);

Powered by Google App Engine
This is Rietveld 408576698