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

Unified Diff: ui/file_manager/file_manager/common/js/util.js

Issue 824973002: Add type annotations to media_controls.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: ui/file_manager/file_manager/common/js/util.js
diff --git a/ui/file_manager/file_manager/common/js/util.js b/ui/file_manager/file_manager/common/js/util.js
index 282eac03eaef752fb4bdaa801d3321b8c98aad57..f68f4f9d06f791cca4413115c5d6cab8eaaa2fa9 100644
--- a/ui/file_manager/file_manager/common/js/util.js
+++ b/ui/file_manager/file_manager/common/js/util.js
@@ -405,7 +405,7 @@ util.AppCache.getValue = function(key, callback) {
* Update the cache.
hirono 2014/12/24 01:43:22 Please fix this while you are here: Update -> Upda
yawano 2014/12/24 02:39:55 Done.
*
* @param {string} key Key.
- * @param {string} value Value. Remove the key if value is null.
+ * @param {?(string|number)} value Value. Remove the key if value is null.
* @param {number=} opt_lifetime Maximum time to keep an item (in milliseconds).
*/
util.AppCache.update = function(key, value, opt_lifetime) {
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/media_controls.js » ('j') | ui/file_manager/video_player/js/media_controls.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698