diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 12:39:28 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 12:39:28 +0000 |
commit | edf99a22752ff9e505fce52de5ffe56af288136d (patch) | |
tree | 4d20f4a7453b980a209374861b46333a925a7740 /content/browser | |
parent | 358ace8e623c8bc999da8e6a1d8a55c8f103430f (diff) | |
download | chromium_src-edf99a22752ff9e505fce52de5ffe56af288136d.zip chromium_src-edf99a22752ff9e505fce52de5ffe56af288136d.tar.gz chromium_src-edf99a22752ff9e505fce52de5ffe56af288136d.tar.bz2 |
chromeos: Check if the path given to platform_util::OpenItem is a directory or not, in file_manager_util.cc
file_manager_util::ViewFile and ViewFolder are merged into one function, ViewItem.
Now file_manager_util::ViewItem is responsible to investigate if the given path is directory or not.
Use FileSystemOperation::DirectoryExists, instead of file_util::DirectoryExists, to correctly handle Drive paths.
BUG=149725
TEST=Open chrome://downloads and click 'Open downloads folder' to see the download folder is opened. Once with 'Download location' set to Downloads in chrome://settings, once more with set to Google Drive.
TBR=ben@chromium.org for chrome/browser/platform_util_chromeos.cc
Review URL: https://chromiumcodereview.appspot.com/12034005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
0 files changed, 0 insertions, 0 deletions