| Index: remoting/webapp/crd/js/signal_strategy.js
|
| diff --git a/remoting/webapp/crd/js/signal_strategy.js b/remoting/webapp/crd/js/signal_strategy.js
|
| index f07613f9bd3a71175197341e38896592fce4788f..6963c2fd71f42b7ca0d83b7525a2a221466357e7 100644
|
| --- a/remoting/webapp/crd/js/signal_strategy.js
|
| +++ b/remoting/webapp/crd/js/signal_strategy.js
|
| @@ -59,6 +59,16 @@ remoting.SignalStrategy.prototype.connect =
|
| */
|
| remoting.SignalStrategy.prototype.sendMessage = function(message) {};
|
|
|
| +/**
|
| + * Send any messages accumulated during connection set-up.
|
| + *
|
| + * @param {remoting.LogToServer} logToServer The LogToServer instance for the
|
| + * connection.
|
| + */
|
| +remoting.SignalStrategy.prototype.sendConnectionSetupResults =
|
| + function(logToServer) {
|
| +};
|
| +
|
| /** @return {remoting.SignalStrategy.State} Current state */
|
| remoting.SignalStrategy.prototype.getState = function() {};
|
|
|
| @@ -92,15 +102,8 @@ remoting.SignalStrategy.create = function(onStateChangedCallback) {
|
| return new remoting.WcsAdapter(onStateChanged);
|
| };
|
|
|
| - /**
|
| - * @param {remoting.FallbackSignalStrategy.Progress} progress
|
| - */
|
| - var progressCallback = function(progress) {
|
| - console.log('FallbackSignalStrategy progress: ' + progress);
|
| - };
|
| -
|
| return new remoting.FallbackSignalStrategy(
|
| - xmppFactory, wcsFactory, onStateChangedCallback, progressCallback);
|
| + xmppFactory, wcsFactory, onStateChangedCallback);
|
|
|
| } else {
|
| return new remoting.WcsAdapter(onStateChangedCallback);
|
|
|