summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 03:13:55 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 03:13:55 +0000
commite29c8c5760df16862da96dc1b68a4ed737ca8594 (patch)
tree2859d0235273fc9d4fd22e8e6b42201fd0b323d6
parent0e9064e4d2a5087623d128773654aad4a855492f (diff)
downloadchromium_src-e29c8c5760df16862da96dc1b68a4ed737ca8594.zip
chromium_src-e29c8c5760df16862da96dc1b68a4ed737ca8594.tar.gz
chromium_src-e29c8c5760df16862da96dc1b68a4ed737ca8594.tar.bz2
Remove deprecated version of file_util::ReadFileToString function.
BUG=24672 TEST=trybots Review URL: http://codereview.chromium.org/3250004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57944 0039d316-1c4b-4281-b951-d872f2087c98
-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);