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

Unified Diff: gpu/tools/compositor_model_bench/compositor_model_bench.cc

Issue 109043002: Move more file_util functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « content/test/weburl_loader_mock_factory.cc ('k') | media/audio/android/audio_android_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/tools/compositor_model_bench/compositor_model_bench.cc
diff --git a/gpu/tools/compositor_model_bench/compositor_model_bench.cc b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
index 6c39981ec8fc0ac02f4253e462a5fa4ff82b6e3c..3d7884449a7798b09071def725154d0a9d783f12 100644
--- a/gpu/tools/compositor_model_bench/compositor_model_bench.cc
+++ b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
@@ -38,9 +38,7 @@
using base::TimeTicks;
-using file_util::CloseFile;
using base::DirectoryExists;
-using file_util::OpenFile;
using base::PathExists;
using std::queue;
using std::string;
@@ -275,7 +273,7 @@ class Simulator {
void DumpOutput() {
LOG(INFO) << "Successfully ran " << sims_completed_.size() << " tests";
- FILE* f = OpenFile(output_path_, "w");
+ FILE* f = base::OpenFile(output_path_, "w");
if (!f) {
LOG(ERROR) << "Failed to open output file " <<
@@ -301,7 +299,7 @@ class Simulator {
}
fputs("\t]\n}", f);
- CloseFile(f);
+ base::CloseFile(f);
}
bool UpdateTestStatus() {
« no previous file with comments | « content/test/weburl_loader_mock_factory.cc ('k') | media/audio/android/audio_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698