FilesApp: Closure compile background/.../volume_manager_unittest
Related apps under ui/file_manager all use background_base.js, which instantiates a VolumeManagerFactory. VolumeManagerFactory, BackgroundBase, their tests, and things they depend on should all move to //ui/file_manager/base/*. Capturing deps by Closure-compiling makes things easier to move. Start with volume_manager_unittest.js. Break its dependency on the files app `unittest_util.js` (which shouldn't move) by splitting out some test utility functions to ui/file_manager/base/js/mock_chrome.js. Bug: 879035, 860355 Cq-Include-Trybots: luci.chromium.try:closure_compilation Change-Id: Ieab83e90607da78cf06352ecce73c0f8d62a2838 Reviewed-on: https://chromium-review.googlesource.com/c/1278622 Commit-Queue: Trent Apted <tapted@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#599845}
Showing
Please register or sign in to comment