| Index: remoting/webapp/crd/js/client_session.js
|
| diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js
|
| index c4af96b28305e6827bd4090abbe1ee57d4be8529..0328535c891952982d60c997fffbf14df27ac3c4 100644
|
| --- a/remoting/webapp/crd/js/client_session.js
|
| +++ b/remoting/webapp/crd/js/client_session.js
|
| @@ -35,17 +35,13 @@ remoting.ACCESS_TOKEN_RESEND_INTERVAL_MS = 15 * 60 * 1000;
|
| * @param {remoting.ClientPlugin} plugin
|
| * @param {remoting.Host} host The host to connect to.
|
| * @param {remoting.SignalStrategy} signalStrategy Signal strategy.
|
| - * @param {function(string, string):boolean} onExtensionMessage The handler for
|
| - * protocol extension messages. Returns true if a message is recognized;
|
| - * false otherwise.
|
| *
|
| * @constructor
|
| * @extends {base.EventSourceImpl}
|
| * @implements {base.Disposable}
|
| * @implements {remoting.ClientPlugin.ConnectionEventHandler}
|
| */
|
| -remoting.ClientSession = function(plugin, host, signalStrategy,
|
| - onExtensionMessage) {
|
| +remoting.ClientSession = function(plugin, host, signalStrategy) {
|
| base.inherits(this, base.EventSourceImpl);
|
|
|
| /** @private */
|
| @@ -80,9 +76,6 @@ remoting.ClientSession = function(plugin, host, signalStrategy,
|
| */
|
| this.logHostOfflineErrors_ = true;
|
|
|
| - /** @private {function(string, string):boolean} */
|
| - this.onExtensionMessageHandler_ = onExtensionMessage;
|
| -
|
| /** @private {remoting.ClientPlugin} */
|
| this.plugin_ = plugin;
|
| plugin.setConnectionEventHandler(this);
|
| @@ -512,14 +505,6 @@ remoting.ClientSession.prototype.onSetCapabilities = function(capabilities) {
|
| };
|
|
|
| /**
|
| - * @param {string} type
|
| - * @param {string} data
|
| - */
|
| -remoting.ClientSession.prototype.onExtensionMessage = function(type, data) {
|
| - this.onExtensionMessageHandler_(type, data);
|
| -};
|
| -
|
| -/**
|
| * @param {remoting.ClientSession.State} newState The new state for the session.
|
| * @return {void} Nothing.
|
| * @private
|
|
|