From 82f84b91a10f513cd59b8382a7ab00ed0f179bd5 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 30 Aug 2013 18:23:50 +0000 Subject: Move ReadFileToString to the base namespace. BUG= Review URL: https://codereview.chromium.org/19579005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220612 0039d316-1c4b-4281-b951-d872f2087c98 --- courgette/base_test_unittest.cc | 2 +- courgette/courgette_tool.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'courgette') diff --git a/courgette/base_test_unittest.cc b/courgette/base_test_unittest.cc index 9565536..9a62868 100644 --- a/courgette/base_test_unittest.cc +++ b/courgette/base_test_unittest.cc @@ -22,7 +22,7 @@ std::string BaseTest::FileContents(const char* file_name) const { file_path = file_path.AppendASCII(file_name); std::string file_bytes; - EXPECT_TRUE(file_util::ReadFileToString(file_path, &file_bytes)); + EXPECT_TRUE(base::ReadFileToString(file_path, &file_bytes)); return file_bytes; } diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc index 1d8b77d..3b231f8 100644 --- a/courgette/courgette_tool.cc +++ b/courgette/courgette_tool.cc @@ -53,7 +53,7 @@ std::string ReadOrFail(const base::FilePath& file_name, const char* kind) { Problem("Can't read %s file.", kind); std::string buffer; buffer.reserve(static_cast(file_size)); - if (!file_util::ReadFileToString(file_name, &buffer)) + if (!base::ReadFileToString(file_name, &buffer)) Problem("Can't read %s file.", kind); return buffer; } -- cgit v1.1