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

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: Created 5 years, 9 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 e43482251d3fd06086df2b850978104a42c94523..95c058925e35fccf6b598096d25de4f1a1685471 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
*/
@@ -281,7 +281,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