[Files.app] Make getDriveEntryProperties() take multiple entries instead of single...
commit38f15fa3dd6e12e13d490c9630ca6ae25c9456a3
authoryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Apr 2014 12:16:43 +0000 (17 12:16 +0000)
committeryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Apr 2014 12:16:43 +0000 (17 12:16 +0000)
tree1cf1f01ed00a11771af6540d7269fbd2ffeeac2f
parentcd5005a23e9f72a3153a526d057f085f8db7e443
[Files.app] Make getDriveEntryProperties() take multiple entries instead of single entry

Call of this private API has some overhead between C++ in the browser process and JS in a renderer process. This patch enables the method take a multiple entries so we can request properties of multiple entries with one call, and minimize a number of overheads.

This patch should change no functionality.

BUG=345196
TEST=browser_test passes.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264476 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
chrome/browser/chromeos/extensions/file_manager/private_api_drive.h
chrome/browser/resources/file_manager/foreground/js/metadata/metadata_cache.js
chrome/common/extensions/api/file_browser_private.idl