diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 05:13:22 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 05:13:22 +0000 |
commit | 4b7f1979c86bc02af805c4aa5deb363264b8b0cd (patch) | |
tree | 9e188abfef8a387b3033d48d049a1045febe223c /chrome/installer/util/work_item_list.h | |
parent | 4ff9a207b833686a8515864f3622757aba355cc9 (diff) | |
download | chromium_src-4b7f1979c86bc02af805c4aa5deb363264b8b0cd.zip chromium_src-4b7f1979c86bc02af805c4aa5deb363264b8b0cd.tar.gz chromium_src-4b7f1979c86bc02af805c4aa5deb363264b8b0cd.tar.bz2 |
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
Diffstat (limited to 'chrome/installer/util/work_item_list.h')
-rw-r--r-- | chrome/installer/util/work_item_list.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 <list> #include <string> +#include <vector> #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<FilePath>& 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, |