diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 18:23:50 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 18:23:50 +0000 |
commit | 82f84b91a10f513cd59b8382a7ab00ed0f179bd5 (patch) | |
tree | 125081aff715fbe6815e8bb81889d4d49f887cf3 /courgette | |
parent | 88a8115978d75161674d97cde0761cbdba73daed (diff) | |
download | chromium_src-82f84b91a10f513cd59b8382a7ab00ed0f179bd5.zip chromium_src-82f84b91a10f513cd59b8382a7ab00ed0f179bd5.tar.gz chromium_src-82f84b91a10f513cd59b8382a7ab00ed0f179bd5.tar.bz2 |
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
Diffstat (limited to 'courgette')
-rw-r--r-- | courgette/base_test_unittest.cc | 2 | ||||
-rw-r--r-- | courgette/courgette_tool.cc | 2 |
2 files changed, 2 insertions, 2 deletions
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<size_t>(file_size)); - if (!file_util::ReadFileToString(file_name, &buffer)) + if (!base::ReadFileToString(file_name, &buffer)) Problem("Can't read %s file.", kind); return buffer; } |