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

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

Issue 8176008: Merge 101684 - Added CopyRegKeyWorkItem in support of IE low rights policy fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/src/
Patch Set: Created 9 years, 2 months 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_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/work_item_list.cc
===================================================================
--- chrome/installer/util/work_item_list.cc (revision 104337)
+++ chrome/installer/util/work_item_list.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "base/file_path.h"
#include "chrome/installer/util/logging_installer.h"
+#include "chrome/installer/util/copy_reg_key_work_item.h"
#include "chrome/installer/util/copy_tree_work_item.h"
#include "chrome/installer/util/create_dir_work_item.h"
#include "chrome/installer/util/create_reg_key_work_item.h"
@@ -72,6 +73,16 @@
list_.push_back(work_item);
}
+WorkItem* WorkItemList::AddCopyRegKeyWorkItem(
+ HKEY predefined_root,
+ const std::wstring& source_key_path,
+ const std::wstring& dest_key_path) {
+ WorkItem* item = WorkItem::CreateCopyRegKeyWorkItem(
+ predefined_root, source_key_path, dest_key_path);
+ AddWorkItem(item);
+ return item;
+}
+
WorkItem* WorkItemList::AddCopyTreeWorkItem(
const std::wstring& source_path,
const std::wstring& dest_path,
« no previous file with comments | « chrome/installer/util/work_item_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698