Add window.IN_TEST in gallery/js/background.js.
commit9965b3de0a9760e3fe23e7a8ad3888229ff29b67
authoryawano <yawano@chromium.org>
Mon, 22 Dec 2014 06:48:01 +0000 (21 22:48 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 22 Dec 2014 06:49:43 +0000 (22 06:49 +0000)
tree379736e6e4351a69c4d8aa861a6a595eb018cae3
parente8cbfd7afd551ea4d8186321d0887f557490eee6
Add window.IN_TEST in gallery/js/background.js.

window.IN_TEST is not defined in gallery app. It caused a warning of closure compiler, and IN_TEST flag should be set true also in tests of gallery app.

BUG=433728
TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default
out/Release/browser_tests --gtest_filter=*GalleryBrowserTest*

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

Cr-Commit-Position: refs/heads/master@{#309402}
ui/file_manager/externs/gallery_foreground.js
ui/file_manager/gallery/js/background.js