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

Unified Diff: tools/gn/ninja_target_writer.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/gyp_target_writer.cc ('k') | tools/gn/trace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/ninja_target_writer.cc
diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc
index 41523362afce2ba992f6d09e70f42d734c536914..adb110879ca3515f4511e249c909522425952e06 100644
--- a/tools/gn/ninja_target_writer.cc
+++ b/tools/gn/ninja_target_writer.cc
@@ -78,8 +78,8 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target,
}
std::string contents = file.str();
- file_util::WriteFile(ninja_file, contents.c_str(),
- static_cast<int>(contents.size()));
+ base::WriteFile(ninja_file, contents.c_str(),
+ static_cast<int>(contents.size()));
}
std::string NinjaTargetWriter::GetSourcesImplicitDeps() const {
« no previous file with comments | « tools/gn/gyp_target_writer.cc ('k') | tools/gn/trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698