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

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

Issue 5429002: Support for checking multiple keyfiles when removing an installation package.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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/work_item_list.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/work_item_list.cc
===================================================================
--- chrome/installer/util/work_item_list.cc (revision 67902)
+++ chrome/installer/util/work_item_list.cc (working copy)
@@ -5,6 +5,7 @@
#include "chrome/installer/util/work_item_list.h"
#include "base/logging.h"
+#include "base/file_path.h"
#include "chrome/installer/util/logging_installer.h"
WorkItemList::~WorkItemList() {
@@ -99,13 +100,19 @@
return AddWorkItem(item);
}
-bool WorkItemList::AddDeleteTreeWorkItem(const std::wstring& root_path,
- const std::wstring& key_path) {
+bool WorkItemList::AddDeleteTreeWorkItem(
+ const FilePath& root_path,
+ const std::vector<FilePath>& key_paths) {
WorkItem* item = reinterpret_cast<WorkItem*>(
- WorkItem::CreateDeleteTreeWorkItem(root_path, key_path));
+ WorkItem::CreateDeleteTreeWorkItem(root_path, key_paths));
return AddWorkItem(item);
}
+bool WorkItemList::AddDeleteTreeWorkItem(const FilePath& root_path) {
+ std::vector<FilePath> no_key_files;
+ return AddDeleteTreeWorkItem(root_path, no_key_files);
+}
+
bool WorkItemList::AddMoveTreeWorkItem(const std::wstring& source_path,
const std::wstring& dest_path,
const std::wstring& temp_dir) {
« no previous file with comments | « 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