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

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

Issue 18584011: Rename base::Delete to base::DeleteFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 092d34d7fd858cc8569e845579a250fd1371fc88..fbee16f4c662e2f6d76366ed9cbb6a065ef28eec 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());
- base::Delete(dst_file, false);
+ base::DeleteFile(dst_file, false);
if (!base::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