Index: remoting/webapp/browser_test/mock_host_list_api.js |
diff --git a/remoting/webapp/browser_test/mock_host_list_api.js b/remoting/webapp/browser_test/mock_host_list_api.js |
index 2fca22060590987f9d501c88be255891823b639c..1d37941420f6b3ddd0363474bc5d07062c1bbdc1 100644 |
--- a/remoting/webapp/browser_test/mock_host_list_api.js |
+++ b/remoting/webapp/browser_test/mock_host_list_api.js |
@@ -42,7 +42,7 @@ remoting.MockHostListApi = function() { |
/** |
* @param {function(Array<remoting.Host>):void} onDone |
- * @param {function(remoting.Error):void} onError |
+ * @param {function(!remoting.Error):void} onError |
*/ |
remoting.MockHostListApi.prototype.get = function(onDone, onError) { |
remoting.mockIdentity.validateTokenAndCall(onDone, onError, [this.hosts]); |
@@ -53,7 +53,7 @@ remoting.MockHostListApi.prototype.get = function(onDone, onError) { |
* @param {string} hostName |
* @param {string} hostPublicKey |
* @param {function():void} onDone |
- * @param {function(remoting.Error):void} onError |
+ * @param {function(!remoting.Error):void} onError |
*/ |
remoting.MockHostListApi.prototype.put = |
function(hostId, hostName, hostPublicKey, onDone, onError) { |
@@ -79,7 +79,7 @@ remoting.MockHostListApi.prototype.put = |
/** |
* @param {string} hostId |
* @param {function():void} onDone |
- * @param {function(remoting.Error):void} onError |
+ * @param {function(!remoting.Error):void} onError |
*/ |
remoting.MockHostListApi.prototype.remove = |
function(hostId, onDone, onError) { |