diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 01:51:44 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 01:51:44 +0000 |
commit | fd061a6017827421b66782eb576b480b939627e3 (patch) | |
tree | 8835b25d3a9a5546ef9d9d748ff7fd35234d00c0 /base/file_util_win.cc | |
parent | 7dc21e5c1d739c3c263abaf86b953a4d022ba538 (diff) | |
download | chromium_src-fd061a6017827421b66782eb576b480b939627e3.zip chromium_src-fd061a6017827421b66782eb576b480b939627e3.tar.gz chromium_src-fd061a6017827421b66782eb576b480b939627e3.tar.bz2 |
Remove uses of deprecated version of FileUtil::ResolveShortcut.
BUG=None
TEST=run base_unittests.exe
Review URL: http://codereview.chromium.org/173181
Patch from Thiago Farina <thiago.farina@gmail.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_win.cc')
-rw-r--r-- | base/file_util_win.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/base/file_util_win.cc b/base/file_util_win.cc index cffe72e..0acaf5f 100644 --- a/base/file_util_win.cc +++ b/base/file_util_win.cc @@ -254,13 +254,6 @@ bool GetFileCreationLocalTime(const std::wstring& filename, return GetFileCreationLocalTimeFromHandle(file_handle.Get(), creation_time); } -bool ResolveShortcut(std::wstring* path) { - FilePath file_path(*path); - bool result = ResolveShortcut(&file_path); - *path = file_path.value(); - return result; -} - bool ResolveShortcut(FilePath* path) { HRESULT result; IShellLink *shell = NULL; |