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

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

Issue 297233010: Revert 273108 "Omaha configuration parameters now use Wow6432Nod..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2017/src/
Patch Set: Created 6 years, 7 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/setup/uninstall.cc ('k') | chrome/installer/util/compat_checks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/app_command.cc
===================================================================
--- chrome/installer/util/app_command.cc (revision 273136)
+++ chrome/installer/util/app_command.cc (working copy)
@@ -70,14 +70,12 @@
void AppCommand::AddWorkItems(HKEY predefined_root,
const base::string16& command_path,
WorkItemList* item_list) const {
- // Command_path is derived from GetRegCommandKey which always returns
- // value from GetVersionKey() which should be 32-bit hive.
item_list->AddCreateRegKeyWorkItem(
- predefined_root, command_path, KEY_WOW64_32KEY)
+ predefined_root, command_path, WorkItem::kWow64Default)
->set_log_message("creating AppCommand registry key");
item_list->AddSetRegValueWorkItem(predefined_root,
command_path,
- KEY_WOW64_32KEY,
+ WorkItem::kWow64Default,
google_update::kRegCommandLineField,
command_line_,
true)
@@ -92,13 +90,13 @@
if (var_data) {
item_list->AddSetRegValueWorkItem(predefined_root,
command_path,
- KEY_WOW64_32KEY,
+ WorkItem::kWow64Default,
var_name,
static_cast<DWORD>(1),
true);
} else {
item_list->AddDeleteRegValueWorkItem(
- predefined_root, command_path, KEY_WOW64_32KEY, var_name);
+ predefined_root, command_path, WorkItem::kWow64Default, var_name);
}
}
}
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/compat_checks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698