Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: remoting/webapp/base/js/application.js

Issue 955283002: Converted remoting.Error from an enum to a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Smaller diff. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/base/js/application.js
diff --git a/remoting/webapp/base/js/application.js b/remoting/webapp/base/js/application.js
index e31fb503214938f5a1f9b8fd560625d2e5ec8ddd..dc39cfaa6ba9590bf28e7fbaba80a512c69ca469 100644
--- a/remoting/webapp/base/js/application.js
+++ b/remoting/webapp/base/js/application.js
@@ -126,7 +126,7 @@ remoting.Application.prototype.onDisconnected = function() {
/**
* Called when the current session's connection has failed.
*
- * @param {remoting.Error} error
+ * @param {!remoting.Error} error
* @return {void} Nothing.
*/
remoting.Application.prototype.onConnectionFailed = function(error) {
@@ -170,7 +170,7 @@ remoting.Application.prototype.onExtensionMessage = function(type, data) {
/**
* 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.Application.prototype.onError = function(errorTag) {
@@ -241,7 +241,7 @@ remoting.Application.Delegate.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.Application.Delegate.prototype.handleConnectionFailed = function(
@@ -269,7 +269,7 @@ remoting.Application.Delegate.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.Application.Delegate.prototype.handleError = function(errorTag) {};

Powered by Google App Engine
This is Rietveld 408576698