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

Unified Diff: chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.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
Index: chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
diff --git a/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
index 42096139515c831d5c93f994e50a3cc6af65ea0f..7ef4765cf817fc8cec78ce3d80bc9df298679bbc 100644
--- a/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
+++ b/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
@@ -142,7 +142,7 @@ class ItunesFileUtilTest : public testing::Test {
ASSERT_TRUE(fake_library_dir_.CreateUniqueTempDir());
ASSERT_EQ(
0,
- file_util::WriteFile(
+ base::WriteFile(
fake_library_dir_.path().AppendASCII(kITunesLibraryXML),
NULL,
0));
@@ -284,7 +284,7 @@ TEST_F(ItunesFileUtilTest, ItunesMediaDirectoryContentsAutoAdd) {
TEST_F(ItunesFileUtilTest, ItunesAutoAddDirEnumerate) {
data_provider()->SetProvideAutoAddDir(true);
- ASSERT_EQ(0, file_util::WriteFile(
+ ASSERT_EQ(0, base::WriteFile(
data_provider()->auto_add_path().AppendASCII("baz.ogg"), NULL, 0));
FileSystemOperation::FileEntryList contents;
@@ -306,7 +306,7 @@ TEST_F(ItunesFileUtilTest, ItunesAutoAddDirEnumerateNested) {
data_provider()->auto_add_path().AppendASCII("foo").AppendASCII("bar");
ASSERT_TRUE(base::CreateDirectory(nested_dir));
ASSERT_EQ(0,
- file_util::WriteFile(nested_dir.AppendASCII("baz.ogg"), NULL, 0));
+ base::WriteFile(nested_dir.AppendASCII("baz.ogg"), NULL, 0));
FileSystemOperation::FileEntryList contents;
FileSystemURL url = CreateURL(

Powered by Google App Engine
This is Rietveld 408576698