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

Unified Diff: chrome_elf/blacklist/blacklist.cc

Issue 2760853002: Remove use of PRODUCT_STRING_PATH in chrome_elf. (Closed)
Patch Set: now Created 3 years, 9 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_elf/BUILD.gn ('k') | chrome_elf/blacklist/test/blacklist_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/blacklist/blacklist.cc
diff --git a/chrome_elf/blacklist/blacklist.cc b/chrome_elf/blacklist/blacklist.cc
index 05d917fb6db8a32295d0c2f7a9ad96e65a195990..d7609d4a851d3f44092f64afbf7b772557ff4698 100644
--- a/chrome_elf/blacklist/blacklist.cc
+++ b/chrome_elf/blacklist/blacklist.cc
@@ -103,7 +103,10 @@ __declspec(allocate(".oldntmap"))
bool LeaveSetupBeacon() {
HANDLE key_handle = INVALID_HANDLE_VALUE;
- if (!nt::CreateRegKey(nt::HKCU, kRegistryBeaconPath,
+ if (!nt::CreateRegKey(nt::HKCU,
+ install_static::GetRegistryPath()
+ .append(kRegistryBeaconKeyName)
+ .c_str(),
KEY_QUERY_VALUE | KEY_SET_VALUE, &key_handle))
return false;
@@ -152,7 +155,10 @@ bool LeaveSetupBeacon() {
bool ResetBeacon() {
HANDLE key_handle = INVALID_HANDLE_VALUE;
- if (!nt::CreateRegKey(nt::HKCU, kRegistryBeaconPath,
+ if (!nt::CreateRegKey(nt::HKCU,
+ install_static::GetRegistryPath()
+ .append(kRegistryBeaconKeyName)
+ .c_str(),
KEY_QUERY_VALUE | KEY_SET_VALUE, &key_handle))
return false;
« no previous file with comments | « chrome_elf/BUILD.gn ('k') | chrome_elf/blacklist/test/blacklist_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698