summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/file_util.cc4
-rw-r--r--base/file_util_deprecated.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index 1689d5b..edf8e69 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -338,10 +338,6 @@ bool MemoryMappedFile::IsValid() {
// Deprecated functions ----------------------------------------------------
-bool ReadFileToString(const std::wstring& path, std::string* contents) {
- return ReadFileToString(FilePath::FromWStringHack(path), contents);
-}
-
bool AbsolutePath(std::wstring* path_str) {
FilePath path(FilePath::FromWStringHack(*path_str));
if (!AbsolutePath(&path))
diff --git a/base/file_util_deprecated.h b/base/file_util_deprecated.h
index 70857ef..45e60b7 100644
--- a/base/file_util_deprecated.h
+++ b/base/file_util_deprecated.h
@@ -55,7 +55,6 @@ bool AbsolutePath(std::wstring* path);
bool Delete(const std::wstring& path, bool recursive);
bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path,
bool recursive);
-bool ReadFileToString(const std::wstring& path, std::string* contents);
int ReadFile(const std::wstring& filename, char* data, int size);
int WriteFile(const std::wstring& filename, const char* data, int size);