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

Unified Diff: content/public/test/async_file_test_helper.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « content/common/sandbox_mac_fontloading_unittest.mm ('k') | content/test/image_decoder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/async_file_test_helper.cc
diff --git a/content/public/test/async_file_test_helper.cc b/content/public/test/async_file_test_helper.cc
index 2da0bf8d1153c8f480cd6a4302c925534eb39628..03376f9b969cc453c69b7fb491f2a329c7853da0 100644
--- a/content/public/test/async_file_test_helper.cc
+++ b/content/public/test/async_file_test_helper.cc
@@ -181,7 +181,7 @@ base::File::Error AsyncFileTestHelper::CreateFileWithData(
if (!dir.CreateUniqueTempDir())
return base::File::FILE_ERROR_FAILED;
base::FilePath local_path = dir.path().AppendASCII("tmp");
- if (buf_size != file_util::WriteFile(local_path, buf, buf_size))
+ if (buf_size != base::WriteFile(local_path, buf, buf_size))
return base::File::FILE_ERROR_FAILED;
base::File::Error result = base::File::FILE_ERROR_FAILED;
base::RunLoop run_loop;
« no previous file with comments | « content/common/sandbox_mac_fontloading_unittest.mm ('k') | content/test/image_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698