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

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

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.cc ('k') | chrome/installer/util/work_item_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/work_item_list.h
===================================================================
--- chrome/installer/util/work_item_list.h (revision 67902)
+++ chrome/installer/util/work_item_list.h (working copy)
@@ -10,6 +10,7 @@
#include <list>
#include <string>
+#include <vector>
#include "chrome/installer/util/work_item.h"
@@ -60,9 +61,12 @@
// 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,
const std::wstring& dest_path,
« no previous file with comments | « chrome/installer/util/work_item.cc ('k') | chrome/installer/util/work_item_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698