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

Unified Diff: remoting/webapp/crd/js/desktop_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: Rebase and Reviewer's feedback 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
« no previous file with comments | « remoting/webapp/crd/js/client_session.js ('k') | remoting/webapp/crd/js/me2me_activity.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/desktop_remoting.js
diff --git a/remoting/webapp/crd/js/desktop_remoting.js b/remoting/webapp/crd/js/desktop_remoting.js
index b01ddeb544490851f4e90416d6c854d8957f6960..78ed95fde4bef81941dbcdd8187081a2c71eef13 100644
--- a/remoting/webapp/crd/js/desktop_remoting.js
+++ b/remoting/webapp/crd/js/desktop_remoting.js
@@ -171,7 +171,7 @@ remoting.DesktopRemoting.prototype.onConnected_ = function(connectionInfo) {
if (connectionInfo.session().hasCapability(
remoting.ClientSession.Capability.VIDEO_RECORDER)) {
var recorder = new remoting.VideoFrameRecorder();
- this.sessionConnector_.registerProtocolExtension(recorder);
+ connectionInfo.plugin().extensions().register(recorder);
this.connectedView_.setVideoFrameRecorder(recorder);
}
« no previous file with comments | « remoting/webapp/crd/js/client_session.js ('k') | remoting/webapp/crd/js/me2me_activity.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698