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

Unified Diff: chrome/browser/importer/ie_importer_browsertest_win.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/importer/ie_importer_browsertest_win.cc
diff --git a/chrome/browser/importer/ie_importer_browsertest_win.cc b/chrome/browser/importer/ie_importer_browsertest_win.cc
index 33bf646331943d5b220d4e4ccb6ecd96c9f5a76a..bd368994d286a2d9404df28ebe9d1235732c0666 100644
--- a/chrome/browser/importer/ie_importer_browsertest_win.cc
+++ b/chrome/browser/importer/ie_importer_browsertest_win.cc
@@ -203,7 +203,7 @@ bool CreateUrlFileWithFavicon(const base::FilePath& file,
return false;
// Write dummy favicon image data in NTFS alternate data stream.
- return favicon_url.empty() || (file_util::WriteFile(
+ return favicon_url.empty() || (base::WriteFile(
file.ReplaceExtension(kFaviconStreamSuffix), kDummyFaviconImageData,
sizeof kDummyFaviconImageData) != -1);
}
@@ -498,8 +498,8 @@ IN_PROC_BROWSER_TEST_F(IEImporterBrowserTest, IEImporter) {
L"http://www.links-sublink.com/"));
ASSERT_TRUE(CreateUrlFile(path.AppendASCII("IEDefaultLink.url"),
L"http://go.microsoft.com/fwlink/?linkid=140813"));
- file_util::WriteFile(path.AppendASCII("InvalidUrlFile.url"), "x", 1);
- file_util::WriteFile(path.AppendASCII("PlainTextFile.txt"), "x", 1);
+ base::WriteFile(path.AppendASCII("InvalidUrlFile.url"), "x", 1);
+ base::WriteFile(path.AppendASCII("PlainTextFile.txt"), "x", 1);
const base::char16* root_links[] = {
L"Links",
« no previous file with comments | « chrome/browser/history/url_index_private_data.cc ('k') | chrome/browser/local_discovery/pwg_raster_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698