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

Unified Diff: tools/gn/trace.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
« no previous file with comments | « tools/gn/ninja_target_writer.cc ('k') | tools/imagediff/image_diff.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/trace.cc
diff --git a/tools/gn/trace.cc b/tools/gn/trace.cc
index 18082c4776b4913d43bec830f2018690296313a4..26fb2762685aef754a5c0180b4c9b255a5ee0f45 100644
--- a/tools/gn/trace.cc
+++ b/tools/gn/trace.cc
@@ -290,6 +290,6 @@ void SaveTraces(const base::FilePath& file_name) {
out << "]}";
std::string out_str = out.str();
- file_util::WriteFile(file_name, out_str.data(),
+ base::WriteFile(file_name, out_str.data(),
static_cast<int>(out_str.size()));
}
« no previous file with comments | « tools/gn/ninja_target_writer.cc ('k') | tools/imagediff/image_diff.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698