| Index: remoting/webapp/crd/js/session_connector_impl.js
|
| diff --git a/remoting/webapp/crd/js/session_connector_impl.js b/remoting/webapp/crd/js/session_connector_impl.js
|
| index baf0e431a520a926a1531ba6c8ba092934cccac8..fa67e5d47b342508a22a87cccc812f869f3156f2 100644
|
| --- a/remoting/webapp/crd/js/session_connector_impl.js
|
| +++ b/remoting/webapp/crd/js/session_connector_impl.js
|
| @@ -16,11 +16,11 @@ var remoting = remoting || {};
|
| * @param {HTMLElement} clientContainer Container element for the client view.
|
| * @param {function(remoting.ClientSession):void} onConnected Callback on
|
| * success.
|
| - * @param {function(remoting.Error):void} onError Callback on error.
|
| + * @param {function(!remoting.Error):void} onError Callback on error.
|
| * @param {function(string, string):boolean} onExtensionMessage The handler for
|
| * protocol extension messages. Returns true if a message is recognized;
|
| * false otherwise.
|
| - * @param {function(remoting.Error):void} onConnectionFailed Callback for when
|
| + * @param {function(!remoting.Error):void} onConnectionFailed Callback for when
|
| * the connection fails.
|
| * @param {Array<string>} requiredCapabilities Connector capabilities
|
| * required by this application.
|
| @@ -47,7 +47,7 @@ remoting.SessionConnectorImpl = function(clientContainer, onConnected, onError,
|
| this.onConnected_ = onConnected;
|
|
|
| /**
|
| - * @type {function(remoting.Error):void}
|
| + * @type {function(!remoting.Error):void}
|
| * @private
|
| */
|
| this.onError_ = onError;
|
| @@ -59,7 +59,7 @@ remoting.SessionConnectorImpl = function(clientContainer, onConnected, onError,
|
| this.onExtensionMessage_ = onExtensionMessage;
|
|
|
| /**
|
| - * @type {function(remoting.Error):void}
|
| + * @type {function(!remoting.Error):void}
|
| * @private
|
| */
|
| this.onConnectionFailed_ = onConnectionFailed;
|
| @@ -571,7 +571,7 @@ remoting.SessionConnectorImpl.prototype.onStateChange_ = function(event) {
|
| /**
|
| * @param {number} error An HTTP error code returned by the support-hosts
|
| * endpoint.
|
| - * @return {remoting.Error} The equivalent remoting.Error code.
|
| + * @return {!remoting.Error} The equivalent remoting.Error code.
|
| * @private
|
| */
|
| remoting.SessionConnectorImpl.prototype.translateSupportHostsError_ =
|
| @@ -610,11 +610,11 @@ remoting.DefaultSessionConnectorFactory = function() {
|
| * @param {HTMLElement} clientContainer Container element for the client view.
|
| * @param {function(remoting.ClientSession):void} onConnected Callback on
|
| * success.
|
| - * @param {function(remoting.Error):void} onError Callback on error.
|
| + * @param {function(!remoting.Error):void} onError Callback on error.
|
| * @param {function(string, string):boolean} onExtensionMessage The handler for
|
| * protocol extension messages. Returns true if a message is recognized;
|
| * false otherwise.
|
| - * @param {function(remoting.Error):void} onConnectionFailed Callback for when
|
| + * @param {function(!remoting.Error):void} onConnectionFailed Callback for when
|
| * the connection fails.
|
| * @param {Array<string>} requiredCapabilities Connector capabilities
|
| * required by this application.
|
|
|