file_manager: Simplify fileBrowserPrivate.getDriveEntryProperties
commit4e49fe1484b47c3428ef75a527b54cbd9206ff5c
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 27 Aug 2013 05:20:48 +0000 (27 05:20 +0000)
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 27 Aug 2013 05:20:48 +0000 (27 05:20 +0000)
tree248f5a0adf6d89b3434b0968e0b1945ffeda6261
parentd294811b8c0de6a51996597bdbd65a20d900283f
file_manager: Simplify fileBrowserPrivate.getDriveEntryProperties

Previously, this function returned the entire information for drive apps
associated with a given file, but turned out we only needed the doc icon
URL of a drive app which is set as default.

BUG=279041
TEST=Install Pixlr editor; Set it as the default app for .jpg files. Confirm that the doc icon for the app (https://lh5.googleusercontent.com/-V3FCPcB4qZM/T3C9TtK2jlI/AAAAAAAAABs/UJq2EIYt6-U/s16-c-k/16.png) is used for .jpg files in Files.app, as before.
R=benwells@chromium.org, yoshiki@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219695 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
chrome/browser/resources/file_manager/js/file_table.js
chrome/browser/resources/file_manager/js/media/media_util.js
chrome/browser/resources/file_manager/js/metadata/metadata_cache.js
chrome/common/extensions/api/file_browser_private.json