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

Unified Diff: chrome/browser/resources/uber/uber_utils.js

Issue 443553002: Typecheck chrome://help using CompilerPass.java, everything except dependency to options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: Created 6 years, 4 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: chrome/browser/resources/uber/uber_utils.js
diff --git a/chrome/browser/resources/uber/uber_utils.js b/chrome/browser/resources/uber/uber_utils.js
index 459caec798d709d413b4f91092a940c8666f2688..602bc5073f3ffc72698d464579d80ee0327d5e79 100644
--- a/chrome/browser/resources/uber/uber_utils.js
+++ b/chrome/browser/resources/uber/uber_utils.js
@@ -108,8 +108,8 @@ cr.define('uber', function() {
* Invokes a method on the parent window (UberPage). This is a convenience
* method for API calls into the uber page.
* @param {string} method The name of the method to invoke.
- * @param {Object=} opt_params Optional property bag of parameters to pass to
- * the invoked method.
+ * @param {(Object|number|boolean)=} opt_params Optional property bag of
+ * parameters to pass to the invoked method.
* @private
*/
function invokeMethodOnParent(method, opt_params) {
@@ -122,8 +122,8 @@ cr.define('uber', function() {
/**
* Invokes a method on the target window.
* @param {string} method The name of the method to invoke.
- * @param {Object=} opt_params Optional property bag of parameters to pass to
- * the invoked method.
+ * @param {(Object|number|boolean)=} opt_params Optional property bag of
+ * parameters to pass to the invoked method.
* @param {string=} opt_url The origin of the target window.
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698