| 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 fb14f6d06827f24e5a6490fff0a577a5fba0002d..30176d0de865c8ebc38ee8dca9b7aad2424a2cb0 100644
|
| --- a/remoting/webapp/app_remoting/js/app_remoting.js
|
| +++ b/remoting/webapp/app_remoting/js/app_remoting.js
|
| @@ -181,10 +181,10 @@ remoting.AppRemoting.prototype.start = function(connector, token) {
|
| * Report an authentication error to the user. This is called in lieu of start()
|
| * if the user cannot be authenticated or if they decline the app permissions.
|
| *
|
| - * @param {remoting.Error} error The failure reason.
|
| + * @param {!remoting.Error} error The failure reason.
|
| */
|
| remoting.AppRemoting.prototype.signInFailed = function(error) {
|
| - if (error == remoting.Error.CANCELLED) {
|
| + if (error.tag == remoting.Error.Tag.CANCELLED) {
|
| chrome.app.window.current().close();
|
| remoting.LoadingWindow.close();
|
| } else {
|
| @@ -257,7 +257,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(
|
| @@ -333,7 +333,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) {
|
|
|