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

Unified Diff: chrome/installer/util/delete_after_reboot_helper.cc

Issue 392013: Correctly schedule empty parent directories for deletion when Chrome Frame is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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/util/delete_after_reboot_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/delete_after_reboot_helper.cc
===================================================================
--- chrome/installer/util/delete_after_reboot_helper.cc (revision 31781)
+++ chrome/installer/util/delete_after_reboot_helper.cc (working copy)
@@ -54,6 +54,8 @@
return ok;
}
+} // end namespace
+
// Must only be called for regular files or directories that will be empty.
bool ScheduleFileSystemEntityForDeletion(const wchar_t* path) {
// Check if the file exists, return false if not.
@@ -77,7 +79,6 @@
LOG(INFO) << "Scheduled for deletion: " << path;
return true;
}
-} // end namespace
bool ScheduleDirectoryForDeletion(const wchar_t* dir_name) {
if (!IsSafeDirectoryNameForDeletion(dir_name)) {
« no previous file with comments | « chrome/installer/util/delete_after_reboot_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698