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

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

Issue 300593002: Make omaha, gcapi and uninstall registry accesses use Wow6432Node on 64-bit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move the uninstall registry access to 32-bit 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
Index: chrome/installer/util/google_chrome_distribution.cc
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index c263c6b3755a82863ef917c86db168207f165335..d615fa38491809897a614035d314b2a2166b7b30 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -215,7 +215,8 @@ base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) {
sub_key.append(L"\\");
sub_key.append(product_guid());
- base::win::RegKey client_state_key(root_key, sub_key.c_str(), KEY_READ);
+ base::win::RegKey client_state_key(root_key, sub_key.c_str(),
+ KEY_READ | KEY_WOW64_32KEY);
base::string16 result;
base::string16 brand_value;
if (client_state_key.ReadValue(google_update::kRegRLZBrandField,

Powered by Google App Engine
This is Rietveld 408576698