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

Unified Diff: chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_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/iapps_finder_impl_win_browsertest.cc
diff --git a/chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc b/chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
index 903d0f78d617e0558de2ff1983f750ac18fbe8f6..88649a0ef228a8bf5ae92e07ec165d0bfb76e721 100644
--- a/chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
+++ b/chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
@@ -31,7 +31,7 @@ std::string EncodePath(const base::FilePath& path) {
}
void TouchFile(const base::FilePath& file) {
- ASSERT_EQ(1, file_util::WriteFile(file, " ", 1));
+ ASSERT_EQ(1, base::WriteFile(file, " ", 1));
}
class ITunesFinderWinTest : public InProcessBrowserTest {
@@ -63,8 +63,8 @@ class ITunesFinderWinTest : public InProcessBrowserTest {
app_data_dir().AppendASCII("Apple Computer").AppendASCII("iTunes");
ASSERT_TRUE(base::CreateDirectory(pref_dir));
ASSERT_EQ(data.size(),
- file_util::WriteFile(pref_dir.AppendASCII("iTunesPrefs.xml"),
- data.data(), data.size()));
+ base::WriteFile(pref_dir.AppendASCII("iTunesPrefs.xml"),
+ data.data(), data.size()));
}
void TouchDefault() {

Powered by Google App Engine
This is Rietveld 408576698