Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4302)

Unified Diff: chrome/test/chromedriver/util_unittest.cc

Issue 19579005: Move ReadFileToString to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/session_commands_unittest.cc ('k') | chrome/test/perf/dom_checker_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/util_unittest.cc
diff --git a/chrome/test/chromedriver/util_unittest.cc b/chrome/test/chromedriver/util_unittest.cc
index a710fb58883930cb1297d81f20b530dddcff37e4..85e469e320db5ec15099c9c1dd601bc28e66dc43 100644
--- a/chrome/test/chromedriver/util_unittest.cc
+++ b/chrome/test/chromedriver/util_unittest.cc
@@ -26,7 +26,7 @@ TEST(UnzipSoleFile, Entry) {
Status status = UnzipSoleFile(temp_dir.path(), data, &file);
ASSERT_EQ(kOk, status.code()) << status.message();
std::string contents;
- ASSERT_TRUE(file_util::ReadFileToString(file, &contents));
+ ASSERT_TRUE(base::ReadFileToString(file, &contents));
ASSERT_STREQ("COW\n", contents.c_str());
}
@@ -45,6 +45,6 @@ TEST(UnzipSoleFile, Archive) {
Status status = UnzipSoleFile(temp_dir.path(), data, &file);
ASSERT_EQ(kOk, status.code()) << status.message();
std::string contents;
- ASSERT_TRUE(file_util::ReadFileToString(file, &contents));
+ ASSERT_TRUE(base::ReadFileToString(file, &contents));
ASSERT_STREQ("COW\n", contents.c_str());
}
« no previous file with comments | « chrome/test/chromedriver/session_commands_unittest.cc ('k') | chrome/test/perf/dom_checker_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698