Index: chrome/installer/util/copy_reg_key_work_item.h |
diff --git a/chrome/installer/util/copy_reg_key_work_item.h b/chrome/installer/util/copy_reg_key_work_item.h |
index cba85fef09036c9e7f2c3bf111f04b428234f61e..cb43b2c8eec1cfa629f9322e6a6c5584e8fcfc92 100644 |
--- a/chrome/installer/util/copy_reg_key_work_item.h |
+++ b/chrome/installer/util/copy_reg_key_work_item.h |
@@ -25,6 +25,8 @@ class CopyRegKeyWorkItem : public WorkItem { |
virtual void Rollback() OVERRIDE; |
private: |
+ // Grant WorkItem access to the ctor (required by the existing WorkItem |
+ // design). |
friend class WorkItem; |
// Neither |source_key_path| nor |dest_key_path| may be empty. |
@@ -44,6 +46,7 @@ class CopyRegKeyWorkItem : public WorkItem { |
// Path of the destination key. |
std::wstring dest_key_path_; |
+ // WorkItem::ALWAYS or WorkItem::IF_NOT_PRESENT. |
CopyOverWriteOption overwrite_option_; |
// Backup of the destination key. |