| 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);
|
|
|