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

Unified Diff: jingle/glue/logging_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 | « gpu/tools/compositor_model_bench/render_tree.cc ('k') | net/base/file_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/logging_unittest.cc
diff --git a/jingle/glue/logging_unittest.cc b/jingle/glue/logging_unittest.cc
index 85ac558ca3c0a56caf2525f2d05caa2f274406fb..ba1f859486259ce55fb4214c557ad208e209cd6a 100644
--- a/jingle/glue/logging_unittest.cc
+++ b/jingle/glue/logging_unittest.cc
@@ -84,7 +84,7 @@ TEST(LibjingleLogTest, DefaultConfiguration) {
// Read file to string.
base::FilePath file_path(log_file_name);
std::string contents_of_file;
- file_util::ReadFileToString(file_path, &contents_of_file);
+ base::ReadFileToString(file_path, &contents_of_file);
// Make sure string contains the expected values.
EXPECT_FALSE(ContainsString(contents_of_file, AsString(talk_base::LS_ERROR)));
@@ -111,7 +111,7 @@ TEST(LibjingleLogTest, InfoConfiguration) {
// Read file to string.
base::FilePath file_path(log_file_name);
std::string contents_of_file;
- file_util::ReadFileToString(file_path, &contents_of_file);
+ base::ReadFileToString(file_path, &contents_of_file);
// Make sure string contains the expected values.
EXPECT_TRUE(ContainsString(contents_of_file, AsString(talk_base::LS_ERROR)));
@@ -145,7 +145,7 @@ TEST(LibjingleLogTest, LogEverythingConfiguration) {
// Read file to string.
base::FilePath file_path(log_file_name);
std::string contents_of_file;
- file_util::ReadFileToString(file_path, &contents_of_file);
+ base::ReadFileToString(file_path, &contents_of_file);
// Make sure string contains the expected values.
EXPECT_TRUE(ContainsString(contents_of_file, AsString(talk_base::LS_ERROR)));
« no previous file with comments | « gpu/tools/compositor_model_bench/render_tree.cc ('k') | net/base/file_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698