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

Unified Diff: chrome/test/perf/generate_profile.cc

Issue 16950028: Move file_util::Delete to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « chrome/test/mini_installer_test/run_all_unittests.cc ('k') | chrome/test/perf/memory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/generate_profile.cc
diff --git a/chrome/test/perf/generate_profile.cc b/chrome/test/perf/generate_profile.cc
index d45dc38e9d65c707a3d5b71218efb17ec477b507..b07f17421effa19aa0ff256eb9613fd0239a5e39 100644
--- a/chrome/test/perf/generate_profile.cc
+++ b/chrome/test/perf/generate_profile.cc
@@ -256,7 +256,7 @@ bool GenerateProfile(GenerateProfileTypes types,
base::FilePath path = file_iterator.Next();
while (!path.empty()) {
base::FilePath dst_file = dst_dir.Append(path.BaseName());
- file_util::Delete(dst_file, false);
+ base::Delete(dst_file, false);
if (!file_util::CopyFile(path, dst_file)) {
PLOG(ERROR) << "Copying file failed";
return false;
« no previous file with comments | « chrome/test/mini_installer_test/run_all_unittests.cc ('k') | chrome/test/perf/memory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698