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

Unified Diff: chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.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/iphoto_data_provider_browsertest.cc
diff --git a/chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc b/chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc
index 10f1ebb5480110704cd41e8a8b71df04ee0fddfe..fe43d3ff9f2e807193ec7cad7825d3cbfcb7dd7e 100644
--- a/chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc
+++ b/chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc
@@ -141,7 +141,7 @@ class IPhotoDataProviderTest : public InProcessBrowserTest {
void WriteLibraryInternal() {
std::string xml = GetLibraryString();
ASSERT_EQ(static_cast<int>(xml.size()),
- file_util::WriteFile(XmlFile(), xml.c_str(), xml.size()));
+ base::WriteFile(XmlFile(), xml.c_str(), xml.size()));
}
base::ScopedTempDir library_dir_;
@@ -451,7 +451,7 @@ class IPhotoDataProviderInvalidTest : public IPhotoDataProviderTest {
base::Unretained(data_provider()),
base::Bind(&IPhotoDataProviderInvalidTest::CheckInvalid,
base::Unretained(this))));
- EXPECT_EQ(1L, file_util::WriteFile(XmlFile(), " ", 1));
+ EXPECT_EQ(1L, base::WriteFile(XmlFile(), " ", 1));
}
void CheckInvalid(bool is_valid) {

Powered by Google App Engine
This is Rietveld 408576698