From 1e079a9784693cb529a4afd37c19a6a55d7c1b1c Mon Sep 17 00:00:00 2001 From: "erikkay@chromium.org" Date: Fri, 11 Sep 2009 18:34:29 +0000 Subject: Removes deprecated version of PathIsWritable which is no longer called by any function. BUG=None TEST=None Review URL: http://codereview.chromium.org/196038 Patch from thiago.farina@gmail.com. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25990 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_util.cc | 3 --- base/file_util.h | 2 -- 2 files changed, 5 deletions(-) (limited to 'base') diff --git a/base/file_util.cc b/base/file_util.cc index d632b96..1ee7abc 100644 --- a/base/file_util.cc +++ b/base/file_util.cc @@ -400,9 +400,6 @@ FILE* OpenFile(const std::wstring& filename, const char* mode) { bool PathExists(const std::wstring& path) { return PathExists(FilePath::FromWStringHack(path)); } -bool PathIsWritable(const std::wstring& path) { - return PathIsWritable(FilePath::FromWStringHack(path)); -} int ReadFile(const std::wstring& filename, char* data, int size) { return ReadFile(FilePath::FromWStringHack(filename), data, size); } diff --git a/base/file_util.h b/base/file_util.h index cbca470..ba8738c 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -182,8 +182,6 @@ bool PathExists(const std::wstring& path); // Returns true if the given path is writable by the user, false otherwise. bool PathIsWritable(const FilePath& path); -// Deprecated temporary compatibility function. -bool PathIsWritable(const std::wstring& path); // Returns true if the given path exists and is a directory, false otherwise. bool DirectoryExists(const FilePath& path); -- cgit v1.1