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

Unified Diff: net/ftp/ftp_directory_listing_parser_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 | « net/dns/dns_hosts.cc ('k') | net/ocsp/nss_ocsp_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_directory_listing_parser_unittest.cc
diff --git a/net/ftp/ftp_directory_listing_parser_unittest.cc b/net/ftp/ftp_directory_listing_parser_unittest.cc
index 4eaf1dd97e4067f0b1ff0a3db153ca173d0bfe7f..73d19bc6cac3e6c244b6e9dbc5fab55cbb80dd4c 100644
--- a/net/ftp/ftp_directory_listing_parser_unittest.cc
+++ b/net/ftp/ftp_directory_listing_parser_unittest.cc
@@ -42,8 +42,8 @@ TEST_P(FtpDirectoryListingParserTest, Parse) {
SCOPED_TRACE(base::StringPrintf("Test case: %s", GetParam()));
std::string test_listing;
- EXPECT_TRUE(file_util::ReadFileToString(test_dir.AppendASCII(GetParam()),
- &test_listing));
+ EXPECT_TRUE(base::ReadFileToString(test_dir.AppendASCII(GetParam()),
+ &test_listing));
std::vector<FtpDirectoryListingEntry> entries;
EXPECT_EQ(OK, ParseFtpDirectoryListing(test_listing,
@@ -51,7 +51,7 @@ TEST_P(FtpDirectoryListingParserTest, Parse) {
&entries));
std::string expected_listing;
- ASSERT_TRUE(file_util::ReadFileToString(
+ ASSERT_TRUE(base::ReadFileToString(
test_dir.AppendASCII(std::string(GetParam()) + ".expected"),
&expected_listing));
« no previous file with comments | « net/dns/dns_hosts.cc ('k') | net/ocsp/nss_ocsp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698