Fix some type check errors in file_manager.
commitd17ee1b7a1b34119da680b7eca94df8dcbf16577
authorfukino <fukino@chromium.org>
Mon, 27 Oct 2014 11:21:19 +0000 (27 04:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Oct 2014 11:21:40 +0000 (27 11:21 +0000)
tree8cf2f2f369becd7285cd1245e5c2534f1ed59016
parent16390930b069582d9476c4d5f07f404ec59720ef
Fix some type check errors in file_manager.

This CL includes following changes.
- Change openView_.firstNode to openView_.firstChild.
- Convert dynamically decorated metric functions to standard form to annotate them.
- Make MetadataCache.get's callback nullable.

BUG=406995
TEST=run browser_tests gtest_filter=*FileManager*

Review URL: https://codereview.chromium.org/673933003

Cr-Commit-Position: refs/heads/master@{#301341}
ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js
ui/file_manager/file_manager/foreground/js/metrics.js
ui/file_manager/file_manager/foreground/js/ui/progress_center_panel.js