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

Unified Diff: remoting/webapp/crd/js/it2me_host_facade.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/it2me_host_facade.js
diff --git a/remoting/webapp/crd/js/it2me_host_facade.js b/remoting/webapp/crd/js/it2me_host_facade.js
index 2d94a37ea9cc9785189e0c9fc61c8b7f838a5724..6a6bb01ecbb21e4b5e2284ac52ced05f353db574 100644
--- a/remoting/webapp/crd/js/it2me_host_facade.js
+++ b/remoting/webapp/crd/js/it2me_host_facade.js
@@ -52,7 +52,7 @@ remoting.It2MeHostFacade = function() {
/**
* Called if the It2Me Native Messaging host sends a malformed message:
* missing required attributes, attributes with incorrect types, etc.
- * @private {?function(remoting.Error):void}
+ * @private {?function(!remoting.Error):void}
*/
this.onError_ = function(error) {};
@@ -121,7 +121,7 @@ remoting.It2MeHostFacade.prototype.initialize =
* XMPP server
* @param {string} directoryBotJid XMPP JID for the remoting directory server
* bot.
- * @param {function(remoting.Error):void} onError Callback to invoke in case of
+ * @param {function(!remoting.Error):void} onError Callback to invoke in case of
* an error.
* @return {void}
*/

Powered by Google App Engine
This is Rietveld 408576698