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

Unified Diff: remoting/webapp/browser_test/mock_identity.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: Smaller diff. 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/browser_test/mock_identity.js
diff --git a/remoting/webapp/browser_test/mock_identity.js b/remoting/webapp/browser_test/mock_identity.js
index 4a1c61bc4dc9522d8371cc18e27303d84516ea93..48d0366efcd24a0e4b7f4aa0a5ae554678b74031 100644
--- a/remoting/webapp/browser_test/mock_identity.js
+++ b/remoting/webapp/browser_test/mock_identity.js
@@ -68,7 +68,7 @@ remoting.MockIdentity.prototype.setAccessToken = function(accessToken) {
/**
* @param {string} token
* @param {Function} onDone
- * @param {function(remoting.Error)} onError
+ * @param {function(!remoting.Error)} onError
* @param {Array<*>} values
*/
remoting.MockIdentity.validateTokenAndCall =
@@ -86,7 +86,7 @@ remoting.MockIdentity.validateTokenAndCall =
/**
* @param {Function} onDone
- * @param {function(remoting.Error)} onError
+ * @param {function(!remoting.Error)} onError
* @param {Array<*>} values
*/
remoting.MockIdentity.prototype.validateTokenAndCall =

Powered by Google App Engine
This is Rietveld 408576698