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

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

Issue 1220473002: Introduce a SetRegValueWorkItem overload that accepts a callback instead (...) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: chrome/installer/util/work_item_list.h
diff --git a/chrome/installer/util/work_item_list.h b/chrome/installer/util/work_item_list.h
index 74c0562ec80259a3701d4ec27f5607290eb1e2e3..aca5e7278ea39f1eb28d4f71f03ecd07b193ba9c 100644
--- a/chrome/installer/util/work_item_list.h
+++ b/chrome/installer/util/work_item_list.h
@@ -120,6 +120,16 @@ class WorkItemList : public WorkItem {
int64 value_data,
bool overwrite);
+ // Add a SetRegValueWorkItem that sets a registry value based on the value
+ // provided by |get_value_callback| given the existing value under
+ // |key_path\value_name|.
+ virtual WorkItem* AddSetRegValueWorkItem(
+ HKEY predefined_root,
+ const std::wstring& key_path,
+ REGSAM wow64_access,
+ const std::wstring& value_name,
+ const WorkItem::GetValueFromExistingCallback& get_value_callback);
+
// Add a SelfRegWorkItem that registers or unregisters a DLL at the
// specified path. If user_level_registration is true, then alternate
// registration and unregistration entry point names will be used.

Powered by Google App Engine
This is Rietveld 408576698