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

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: 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/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 c33f8ebdf8872fcb02cb9c4c9b03508a538549ed..d0bb412b5808959b57571d5246cdaf6b839c442d 100644
--- a/remoting/webapp/crd/js/it2me_host_facade.js
+++ b/remoting/webapp/crd/js/it2me_host_facade.js
@@ -55,7 +55,7 @@ remoting.It2MeHostFacade = function() {
/**
* Called if the It2Me Native Messaging host sends a malformed message:
* missing required attributes, attributes with incorrect types, etc.
- * @type {?function(remoting.Error):void}
+ * @type {?function(!remoting.Error):void}
* @private
*/
this.onError_ = function(error) {};
@@ -131,7 +131,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