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

Unified Diff: chrome/installer/test/alternate_version_generator.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/installer/setup/uninstall.cc ('k') | chrome/installer/test/upgrade_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/test/alternate_version_generator.cc
diff --git a/chrome/installer/test/alternate_version_generator.cc b/chrome/installer/test/alternate_version_generator.cc
index 54458fd74e933700cd04081b973cfad6707704a6..44361d53b84f42ff0a18310e211cdcb056a72a6a 100644
--- a/chrome/installer/test/alternate_version_generator.cc
+++ b/chrome/installer/test/alternate_version_generator.cc
@@ -75,7 +75,7 @@ class ScopedTempDirectory {
public:
ScopedTempDirectory() { }
~ScopedTempDirectory() {
- if (!directory_.empty() && !file_util::Delete(directory_, true)) {
+ if (!directory_.empty() && !base::Delete(directory_, true)) {
LOG(DFATAL) << "Failed deleting temporary directory \""
<< directory_.value() << "\"";
}
@@ -602,9 +602,9 @@ bool GenerateAlternateVersion(const base::FilePath& original_installer_path,
// Get rid of intermediate files
base::FilePath chrome_7z(chrome_7z_name);
- if (!file_util::Delete(chrome_7z, false) ||
- !file_util::Delete(chrome_packed_7z, false) ||
- !file_util::Delete(setup_ex_, false)) {
+ if (!base::Delete(chrome_7z, false) ||
+ !base::Delete(chrome_packed_7z, false) ||
+ !base::Delete(setup_ex_, false)) {
LOG(DFATAL) << "Failed deleting intermediate files";
return false;
}
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/test/upgrade_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698