summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/work_item.h
diff options
context:
space:
mode:
authorrobertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 15:34:43 +0000
committerrobertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 15:34:43 +0000
commit0fb1960ad3ffa0df4e5c2ac46d0e240aa4e55108 (patch)
treed30839c2ad94dd622883c0be5237fd6ba7c1a564 /chrome/installer/util/work_item.h
parente4ac5dff67e3f5ea9b3d7c4adad2aade7a21bbe7 (diff)
downloadchromium_src-0fb1960ad3ffa0df4e5c2ac46d0e240aa4e55108.zip
chromium_src-0fb1960ad3ffa0df4e5c2ac46d0e240aa4e55108.tar.gz
chromium_src-0fb1960ad3ffa0df4e5c2ac46d0e240aa4e55108.tar.bz2
Change mini_installer's chrome.release specification to include wildcards.
Add the ability to register / unregister dlls at installation / uninstallation time. Review URL: http://codereview.chromium.org/43138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/work_item.h')
-rw-r--r--chrome/installer/util/work_item.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/installer/util/work_item.h b/chrome/installer/util/work_item.h
index 86f4834..1a29c2f0 100644
--- a/chrome/installer/util/work_item.h
+++ b/chrome/installer/util/work_item.h
@@ -9,8 +9,8 @@
#ifndef CHROME_INSTALLER_UTIL_WORK_ITEM_H_
#define CHROME_INSTALLER_UTIL_WORK_ITEM_H_
-#include <string>
#include <windows.h>
+#include <string>
class CopyTreeWorkItem;
class CreateDirWorkItem;
@@ -18,6 +18,7 @@ class CreateRegKeyWorkItem;
class DeleteTreeWorkItem;
class DeleteRegValueWorkItem;
class MoveTreeWorkItem;
+class SelfRegWorkItem;
class SetRegValueWorkItem;
class WorkItemList;
@@ -83,6 +84,11 @@ class WorkItem {
HKEY predefined_root, std::wstring key_path,
std::wstring value_name, DWORD value_data, bool overwrite);
+ // Add a SelfRegWorkItem that registers or unregisters a DLL at the
+ // specified path.
+ static SelfRegWorkItem* CreateSelfRegWorkItem(const std::wstring& dll_path,
+ bool do_register);
+
// Create an empty WorkItemList. A WorkItemList can recursively contains
// a list of WorkItems.
static WorkItemList* CreateWorkItemList();