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

Unified Diff: chrome/installer/gcapi/gcapi_reactivation.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/gcapi/gcapi_last_run_test.cc ('k') | chrome/installer/gcapi/gcapi_reactivation_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/gcapi/gcapi_reactivation.cc
===================================================================
--- chrome/installer/gcapi/gcapi_reactivation.cc (revision 273136)
+++ chrome/installer/gcapi/gcapi_reactivation.cc (working copy)
@@ -28,7 +28,7 @@
bool HasBeenReactivated() {
RegKey reactivation_key(HKEY_CURRENT_USER,
GetReactivationHistoryKeyPath().c_str(),
- KEY_QUERY_VALUE | KEY_WOW64_32KEY);
+ KEY_QUERY_VALUE);
return reactivation_key.Valid();
}
@@ -45,8 +45,7 @@
path += L"\\";
path += google_update::kChromeUpgradeCode;
- RegKey client_state_key(
- HKEY_CURRENT_USER, path.c_str(), KEY_SET_VALUE | KEY_WOW64_32KEY);
+ RegKey client_state_key(HKEY_CURRENT_USER, path.c_str(), KEY_SET_VALUE);
if (client_state_key.Valid()) {
success = client_state_key.WriteValue(
google_update::kRegRLZReactivationBrandField,
@@ -58,7 +57,7 @@
// a currently un-used timestamp for future proofing.
RegKey reactivation_key(HKEY_CURRENT_USER,
GetReactivationHistoryKeyPath().c_str(),
- KEY_WRITE | KEY_WOW64_32KEY);
+ KEY_WRITE);
if (reactivation_key.Valid()) {
int64 timestamp = Time::Now().ToInternalValue();
reactivation_key.WriteValue(brand_code.c_str(),
« no previous file with comments | « chrome/installer/gcapi/gcapi_last_run_test.cc ('k') | chrome/installer/gcapi/gcapi_reactivation_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698