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 20:30:06 +0000
committerrobertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 20:30:06 +0000
commite06b745eb745c7e3bd177f76869c04dfc1efaa94 (patch)
tree67873f2afcd893c058414180a06df5929072d2a8 /chrome/installer/util/work_item.h
parent4a9717e2030aadf15cb62275ed0f4ff1a37e869f (diff)
downloadchromium_src-e06b745eb745c7e3bd177f76869c04dfc1efaa94.zip
chromium_src-e06b745eb745c7e3bd177f76869c04dfc1efaa94.tar.gz
chromium_src-e06b745eb745c7e3bd177f76869c04dfc1efaa94.tar.bz2
Second stab at applying http://codereview.chromium.org/43138/show.
Removing the (not really needed) dependency on chrome\VERSION which works on the try server but breaks on buildbot. Review URL: http://codereview.chromium.org/42289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11909 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();