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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc

Issue 1473813003: Add a GetRegistryPath method to BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | chrome/installer/setup/uninstall.cc » ('j') | chrome/installer/util/browser_distribution.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc b/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc
index da2e2f50a5cb63d79462e4ea9d2f8865805fc4b1..e55eec2f65fb95b3ce31e319aa1dbcfe3ea70dc6 100644
--- a/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc
@@ -22,10 +22,8 @@ namespace {
// Returns the path to the registry key holding profile-specific state values.
base::string16 GetStateStoreKeyName() {
- base::string16 key_name(L"Software\\");
- return key_name.append(
- BrowserDistribution::GetDistribution()->GetInstallSubDir())
- .append(L"\\IncidentsSent");
+ return BrowserDistribution::GetDistribution()->GetRegistryPath().append(
+ L"\\IncidentsSent");
}
// Returns the name of the registry value for |profile|'s state.
« no previous file with comments | « no previous file | chrome/installer/setup/uninstall.cc » ('j') | chrome/installer/util/browser_distribution.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698