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

Unified Diff: chrome/browser/safe_browsing/download_feedback_service_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/safe_browsing/download_feedback_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/download_feedback_service_unittest.cc b/chrome/browser/safe_browsing/download_feedback_service_unittest.cc
index 808c7981dfa27f5b26b2726e01ee7e84a60f8528..e1520bd8767970f76df6ba8352be6981797eca83 100644
--- a/chrome/browser/safe_browsing/download_feedback_service_unittest.cc
+++ b/chrome/browser/safe_browsing/download_feedback_service_unittest.cc
@@ -150,7 +150,7 @@ class DownloadFeedbackServiceTest : public testing::Test {
base::FilePath upload_file_path(
temp_dir_.path().AppendASCII("test file " + base::IntToString(n)));
const std::string upload_file_data = "data";
- int wrote = file_util::WriteFile(
+ int wrote = base::WriteFile(
upload_file_path, upload_file_data.data(), upload_file_data.size());
EXPECT_EQ(static_cast<int>(upload_file_data.size()), wrote);
return upload_file_path;
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.cc ('k') | chrome/browser/safe_browsing/download_feedback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698