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

Unified Diff: net/base/net_log_logger_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/base/gzip_filter_unittest.cc ('k') | net/cert/nss_cert_database_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_logger_unittest.cc
diff --git a/net/base/net_log_logger_unittest.cc b/net/base/net_log_logger_unittest.cc
index c4ee98a28c9d0d009fffb72b05249363296cbf9d..3dd6915915d644af1b1bc078b1e59bdd4776d726 100644
--- a/net/base/net_log_logger_unittest.cc
+++ b/net/base/net_log_logger_unittest.cc
@@ -35,7 +35,7 @@ TEST_F(NetLogLoggerTest, GeneratesValidJSONForNoEvents) {
}
std::string input;
- ASSERT_TRUE(file_util::ReadFileToString(log_path_, &input));
+ ASSERT_TRUE(base::ReadFileToString(log_path_, &input));
base::JSONReader reader;
scoped_ptr<base::Value> root(reader.ReadToValue(input));
@@ -67,7 +67,7 @@ TEST_F(NetLogLoggerTest, GeneratesValidJSONWithOneEvent) {
}
std::string input;
- ASSERT_TRUE(file_util::ReadFileToString(log_path_, &input));
+ ASSERT_TRUE(base::ReadFileToString(log_path_, &input));
base::JSONReader reader;
scoped_ptr<base::Value> root(reader.ReadToValue(input));
@@ -102,7 +102,7 @@ TEST_F(NetLogLoggerTest, GeneratesValidJSONWithMultipleEvents) {
}
std::string input;
- ASSERT_TRUE(file_util::ReadFileToString(log_path_, &input));
+ ASSERT_TRUE(base::ReadFileToString(log_path_, &input));
base::JSONReader reader;
scoped_ptr<base::Value> root(reader.ReadToValue(input));
« no previous file with comments | « net/base/gzip_filter_unittest.cc ('k') | net/cert/nss_cert_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698