Chromium Code Reviews| 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 636b4200c03288d5cacfa07152b281b87004baad..8c1e6c51b6f8e690566dca11bc7bd2d1bc4f63ee 100644 |
| --- a/remoting/webapp/app_remoting/js/app_remoting.js |
| +++ b/remoting/webapp/app_remoting/js/app_remoting.js |
| @@ -191,7 +191,7 @@ remoting.AppRemoting.prototype.init = function(connector) { |
| that.runApplicationUrl(), parseAppHostResponse, '', headers); |
| }; |
| - /** @param {remoting.Error} error */ |
| + /** @param {!remoting.Error} error */ |
|
Jamie
2015/02/26 18:57:42
We haven't tended to be very rigourous about using
John Williams
2015/02/27 21:42:11
I'm a fan. It catches some errors and I've never
|
| var onError = function(error) { |
| that.handleError(error); |
| }; |
| @@ -263,7 +263,7 @@ remoting.AppRemoting.prototype.handleDisconnected = function() { |
| * Called when the current session's connection has failed. |
| * |
| * @param {remoting.SessionConnector} connector |
| - * @param {remoting.Error} error |
| + * @param {!remoting.Error} error |
| * @return {void} Nothing. |
| */ |
| remoting.AppRemoting.prototype.handleConnectionFailed = function( |
| @@ -339,7 +339,7 @@ remoting.AppRemoting.prototype.handleExtensionMessage = function( |
| /** |
| * Called when an error needs to be displayed to the user. |
| * |
| - * @param {remoting.Error} errorTag The error to be localized and displayed. |
| + * @param {!remoting.Error} errorTag The error to be localized and displayed. |
| * @return {void} Nothing. |
| */ |
| remoting.AppRemoting.prototype.handleError = function(errorTag) { |