From 4b7f1979c86bc02af805c4aa5deb363264b8b0cd Mon Sep 17 00:00:00 2001 From: "tommi@chromium.org" Date: Thu, 2 Dec 2010 05:13:22 +0000 Subject: Support for checking multiple keyfiles when removing an installation package. BUG=61609 TEST=No change right now (multi-install related). Review URL: http://codereview.chromium.org/5429002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67968 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/util/work_item_list.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'chrome/installer/util/work_item_list.h') diff --git a/chrome/installer/util/work_item_list.h b/chrome/installer/util/work_item_list.h index cd16f52..c43041f 100644 --- a/chrome/installer/util/work_item_list.h +++ b/chrome/installer/util/work_item_list.h @@ -10,6 +10,7 @@ #include #include +#include #include "chrome/installer/util/work_item.h" @@ -60,8 +61,11 @@ class WorkItemList : public WorkItem { // Add a DeleteTreeWorkItem that recursively deletes a file system // hierarchy at the given root path. A key file can be optionally specified // by key_path. - bool AddDeleteTreeWorkItem(const std::wstring& root_path, - const std::wstring& key_path); + bool AddDeleteTreeWorkItem(const FilePath& root_path, + const std::vector& key_paths); + + // Same as above but without support for key files. + bool AddDeleteTreeWorkItem(const FilePath& root_path); // Add a MoveTreeWorkItem to the list of work items. bool AddMoveTreeWorkItem(const std::wstring& source_path, -- cgit v1.1