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

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

Issue 6538025: Temp dir cleanup:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
Index: chrome/installer/util/work_item_list.cc
===================================================================
--- chrome/installer/util/work_item_list.cc (revision 75264)
+++ chrome/installer/util/work_item_list.cc (working copy)
@@ -119,15 +119,18 @@
WorkItem* WorkItemList::AddDeleteTreeWorkItem(
const FilePath& root_path,
+ const FilePath& temp_path,
const std::vector<FilePath>& key_paths) {
- WorkItem* item = WorkItem::CreateDeleteTreeWorkItem(root_path, key_paths);
+ WorkItem* item = WorkItem::CreateDeleteTreeWorkItem(root_path, temp_path,
+ key_paths);
AddWorkItem(item);
return item;
}
-WorkItem* WorkItemList::AddDeleteTreeWorkItem(const FilePath& root_path) {
+WorkItem* WorkItemList::AddDeleteTreeWorkItem(const FilePath& root_path,
+ const FilePath& temp_path) {
std::vector<FilePath> no_key_files;
- return AddDeleteTreeWorkItem(root_path, no_key_files);
+ return AddDeleteTreeWorkItem(root_path, temp_path, no_key_files);
}
WorkItem* WorkItemList::AddMoveTreeWorkItem(const std::wstring& source_path,
« chrome/installer/util/delete_tree_work_item.cc ('K') | « chrome/installer/util/work_item_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698