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

Unified Diff: trunk/src/base/test/gtest_xml_util.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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 | « trunk/src/base/nix/mime_util_xdg.cc ('k') | trunk/src/base/test/launcher/test_results_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/base/test/gtest_xml_util.cc
===================================================================
--- trunk/src/base/test/gtest_xml_util.cc (revision 239399)
+++ trunk/src/base/test/gtest_xml_util.cc (working copy)
@@ -33,13 +33,13 @@
if (output_file_) {
fprintf(output_file_, "</testsuites>\n");
fflush(output_file_);
- base::CloseFile(output_file_);
+ file_util::CloseFile(output_file_);
}
}
bool XmlUnitTestResultPrinter::Initialize(const FilePath& output_file_path) {
DCHECK(!output_file_);
- output_file_ = OpenFile(output_file_path, "w");
+ output_file_ = file_util::OpenFile(output_file_path, "w");
if (!output_file_)
return false;
« no previous file with comments | « trunk/src/base/nix/mime_util_xdg.cc ('k') | trunk/src/base/test/launcher/test_results_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698