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

Unified Diff: chrome/common/media_galleries/pmp_test_util.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 | « chrome/common/media_galleries/picasa_test_util.cc ('k') | chrome/common/net/url_fixer_upper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/media_galleries/pmp_test_util.cc
diff --git a/chrome/common/media_galleries/pmp_test_util.cc b/chrome/common/media_galleries/pmp_test_util.cc
index b06e341f2be9dc2bd1dbfa4612251ad57bf01dd2..6caa6b6e36187c30054e08e341fe2861f7251f19 100644
--- a/chrome/common/media_galleries/pmp_test_util.cc
+++ b/chrome/common/media_galleries/pmp_test_util.cc
@@ -61,7 +61,7 @@ bool PmpTestUtil::WriteIndicatorFile(
base::FilePath indicator_path = column_file_destination.Append(
base::FilePath::FromUTF8Unsafe(table_name + "_0"));
- return file_util::WriteFile(indicator_path, NULL, 0) == 0;
+ return base::WriteFile(indicator_path, NULL, 0) == 0;
}
template<class T>
@@ -78,7 +78,7 @@ bool PmpTestUtil::WriteColumnFileFromVector(
std::vector<char> data = PmpTestUtil::MakeHeaderAndBody(
field_type, elements_vector.size(), elements_vector);
- size_t bytes_written = file_util::WriteFile(path, &data[0], data.size());
+ size_t bytes_written = base::WriteFile(path, &data[0], data.size());
return (bytes_written == data.size());
}
« no previous file with comments | « chrome/common/media_galleries/picasa_test_util.cc ('k') | chrome/common/net/url_fixer_upper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698