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

Unified Diff: remoting/webapp/crd/js/xmpp_login_handler.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: Requested changes. 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/crd/js/xmpp_login_handler.js
diff --git a/remoting/webapp/crd/js/xmpp_login_handler.js b/remoting/webapp/crd/js/xmpp_login_handler.js
index 74be464997962c2e60a4423501e0d8c88d4c80b3..aa9df2269ba13db100611b1204ec1add231deedd 100644
--- a/remoting/webapp/crd/js/xmpp_login_handler.js
+++ b/remoting/webapp/crd/js/xmpp_login_handler.js
@@ -27,7 +27,7 @@ var remoting = remoting || {};
* @param {function(string, remoting.XmppStreamParser):void}
* onHandshakeDoneCallback Callback to call after authentication is
* completed successfully
- * @param {function(remoting.Error, string):void} onErrorCallback Callback to
+ * @param {function(!remoting.Error, string):void} onErrorCallback Callback to
* call on error. Can be called at any point during lifetime of connection.
* @constructor
*/
@@ -275,7 +275,7 @@ remoting.XmppLoginHandler.prototype.startStream_ = function(firstMessage) {
}
/**
- * @param {remoting.Error} error
+ * @param {!remoting.Error} error
* @param {string} text
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698