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

Unified Diff: content/common/gpu/media/video_decode_accelerator_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
Index: content/common/gpu/media/video_decode_accelerator_unittest.cc
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc
index 5b3e1146f23ec87c3419bcdc9a6a99692b4298f8..8cae38a008ea0a233c362c285084a6e7bac40542 100644
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
@@ -191,7 +191,7 @@ void ParseAndReadTestVideoData(base::FilePath::StringType data,
// Read in the video data.
base::FilePath filepath(video_file->file_name);
- CHECK(file_util::ReadFileToString(filepath, &video_file->data_str))
+ CHECK(base::ReadFileToString(filepath, &video_file->data_str))
<< "test_video_file: " << filepath.MaybeAsASCII();
test_video_files->push_back(video_file);
@@ -204,7 +204,7 @@ void ReadGoldenThumbnailMD5s(const TestVideoFile* video_file,
base::FilePath filepath(video_file->file_name);
filepath = filepath.AddExtension(FILE_PATH_LITERAL(".md5"));
std::string all_md5s;
- file_util::ReadFileToString(filepath, &all_md5s);
+ base::ReadFileToString(filepath, &all_md5s);
base::SplitString(all_md5s, '\n', md5_strings);
// Check these are legitimate MD5s.
for (std::vector<std::string>::iterator md5_string = md5_strings->begin();
« no previous file with comments | « content/common/gpu/client/gl_helper_benchmark.cc ('k') | content/common/page_state_serialization_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698