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

Unified Diff: remoting/webapp/base/js/ipc.js

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix key tester 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
« no previous file with comments | « remoting/webapp/base/js/auth_init.js ('k') | remoting/webapp/crd/html/template_unittest.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/ipc.js
diff --git a/remoting/webapp/base/js/ipc.js b/remoting/webapp/base/js/ipc.js
index a940a28fc1b959a0c7d4b3f48c33c87eea55d8e9..955d15036f5a9f03a00d8940c43729eb8a8e7b64 100644
--- a/remoting/webapp/base/js/ipc.js
+++ b/remoting/webapp/base/js/ipc.js
@@ -89,7 +89,7 @@ base.Ipc.Request_ = function(methodName, params) {
/**
* @param {string} methodName
- * @param {function(...?)} handler The handler can be invoked by calling
+ * @param {Function} handler The handler can be invoked by calling
* base.Ipc.invoke(|methodName|, arg1, arg2, ...)
* Async handlers that return promises are currently not supported.
* @return {boolean} Whether the handler is successfully registered.
@@ -145,8 +145,8 @@ base.Ipc.prototype.onMessage_ = function(message, sender, sendResponse) {
*
* @param {string} methodName
* @param {...} var_args
- * @return A Promise that would resolve to the return value of the handler or
- * reject if the handler throws an exception.
+ * @return {Promise} A Promise that would resolve to the return value of the
+ * handler or reject if the handler throws an exception.
*/
base.Ipc.invoke = function(methodName, var_args) {
var params = Array.prototype.slice.call(arguments, 1);
« no previous file with comments | « remoting/webapp/base/js/auth_init.js ('k') | remoting/webapp/crd/html/template_unittest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698