diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/file_util.cc | 3 | ||||
-rw-r--r-- | base/file_util.h | 2 |
2 files changed, 0 insertions, 5 deletions
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); |