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

Unified Diff: remoting/webapp/crd/js/xmpp_connection.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_connection.js
diff --git a/remoting/webapp/crd/js/xmpp_connection.js b/remoting/webapp/crd/js/xmpp_connection.js
index ff9f4111fd03b92837208104f09b7289e791026b..e302f87032087ef80affe2ca969655e365109355 100644
--- a/remoting/webapp/crd/js/xmpp_connection.js
+++ b/remoting/webapp/crd/js/xmpp_connection.js
@@ -127,7 +127,7 @@ remoting.XmppConnection.prototype.getState = function() {
return this.state_;
};
-/** @return {remoting.Error} Error when in FAILED state. */
+/** @return {!remoting.Error} Error when in FAILED state. */
remoting.XmppConnection.prototype.getError = function() {
return this.error_;
};
@@ -361,7 +361,7 @@ remoting.XmppConnection.prototype.onParserError_ = function(text) {
}
/**
- * @param {remoting.Error} error
+ * @param {!remoting.Error} error
* @param {string} text
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698