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

Unified Diff: chrome/installer/util/installer_state.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/util/installation_state.cc ('k') | chrome/installer/util/product.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installer_state.cc
===================================================================
--- chrome/installer/util/installer_state.cc (revision 273136)
+++ chrome/installer/util/installer_state.cc (working copy)
@@ -742,10 +742,8 @@
// Create the app's ClientState key if it doesn't exist.
ChannelInfo channel_info;
base::win::RegKey state_key;
- LONG result =
- state_key.Create(root_key_,
- state_key_.c_str(),
- KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY);
+ LONG result = state_key.Create(root_key_, state_key_.c_str(),
+ KEY_QUERY_VALUE | KEY_SET_VALUE);
if (result == ERROR_SUCCESS) {
channel_info.Initialize(state_key);
@@ -784,10 +782,8 @@
continue;
dist = product->distribution();
}
- result =
- state_key.Create(root_key_,
- dist->GetStateKey().c_str(),
- KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY);
+ result = state_key.Create(root_key_, dist->GetStateKey().c_str(),
+ KEY_QUERY_VALUE | KEY_SET_VALUE);
if (result == ERROR_SUCCESS) {
other_info.Initialize(state_key);
if (!other_info.Equals(channel_info))
« no previous file with comments | « chrome/installer/util/installation_state.cc ('k') | chrome/installer/util/product.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698