summaryrefslogtreecommitdiffstats
path: root/ui/shell_dialogs
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 20:56:49 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 20:56:49 +0000
commit9eae4e686d49213ee7dba24cdf28f13d38b99741 (patch)
tree353f674537dc93191c54033123904fc84f2eb0cd /ui/shell_dialogs
parentba23e5d378762bf5e7a25f8f6591674c5d25e365 (diff)
downloadchromium_src-9eae4e686d49213ee7dba24cdf28f13d38b99741.zip
chromium_src-9eae4e686d49213ee7dba24cdf28f13d38b99741.tar.gz
chromium_src-9eae4e686d49213ee7dba24cdf28f13d38b99741.tar.bz2
Move more file_util functions to base namespace.
This moves DevicePathToDriveLetterPath, NormalizeToNativeFilePath, IsLink, and GetFileInfo. This also removes some explicit "base::" usage in base files I touched. TBR=jam Review URL: https://codereview.chromium.org/105293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/shell_dialogs')
-rw-r--r--ui/shell_dialogs/select_file_dialog_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/shell_dialogs/select_file_dialog_win.cc b/ui/shell_dialogs/select_file_dialog_win.cc
index ed5597d..1f8e364 100644
--- a/ui/shell_dialogs/select_file_dialog_win.cc
+++ b/ui/shell_dialogs/select_file_dialog_win.cc
@@ -86,7 +86,7 @@ bool CallGetSaveFileName(OPENFILENAME* ofn) {
// Distinguish directories from regular files.
bool IsDirectory(const base::FilePath& path) {
base::PlatformFileInfo file_info;
- return file_util::GetFileInfo(path, &file_info) ?
+ return base::GetFileInfo(path, &file_info) ?
file_info.is_directory : path.EndsWithSeparator();
}