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

Unified Diff: chrome/browser/feedback/feedback_util.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/feedback/feedback_util.cc
diff --git a/chrome/browser/feedback/feedback_util.cc b/chrome/browser/feedback/feedback_util.cc
index 4b33f648f0bb6b499565a8e3d4f0e652a120077f..6632fe9c0b9d78a0b1d7f42609e7bdf749497184 100644
--- a/chrome/browser/feedback/feedback_util.cc
+++ b/chrome/browser/feedback/feedback_util.cc
@@ -255,8 +255,8 @@ bool ZipString(const base::FilePath& filename,
// another temporary file to receive the zip file in.
if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_path))
return false;
- if (file_util::WriteFile(temp_path.Append(filename),
- data.c_str(), data.size()) == -1)
+ if (base::WriteFile(temp_path.Append(filename), data.c_str(), data.size()) ==
+ -1)
return false;
bool succeed = base::CreateTemporaryFile(&zip_file) &&

Powered by Google App Engine
This is Rietveld 408576698