summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 01:51:44 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 01:51:44 +0000
commitfd061a6017827421b66782eb576b480b939627e3 (patch)
tree8835b25d3a9a5546ef9d9d748ff7fd35234d00c0 /base/file_util.h
parent7dc21e5c1d739c3c263abaf86b953a4d022ba538 (diff)
downloadchromium_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.h')
-rw-r--r--base/file_util.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 1c1a79f..cbca470 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -229,11 +229,10 @@ bool ReadFromFD(int fd, char* buffer, size_t bytes);
#if defined(OS_WIN)
// Resolve Windows shortcut (.LNK file)
-// Argument path specifies a valid LNK file. On success, return true and put
-// the URL into path. If path is a invalid .LNK file, return false.
+// This methods tries to resolve a shortcut .LNK file. If the |path| is valid
+// returns true and puts the target into the |path|, otherwise returns
+// false leaving the path as it is.
bool ResolveShortcut(FilePath* path);
-// Deprecated temporary compatibility function.
-bool ResolveShortcut(std::wstring* path);
// Create a Windows shortcut (.LNK file)
// This method creates a shortcut link using the information given. Ensure