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

Unified Diff: chrome/installer/util/browser_distribution.h

Issue 1473813003: Add a GetRegistryPath method to BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improve method comment. 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 | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/browser_distribution.h
diff --git a/chrome/installer/util/browser_distribution.h b/chrome/installer/util/browser_distribution.h
index 4b4c294bc16068fe52db047f6185dd477435dc87..6bdf657131642a3873d94b62cc98cb0b624adab0 100644
--- a/chrome/installer/util/browser_distribution.h
+++ b/chrome/installer/util/browser_distribution.h
@@ -131,6 +131,13 @@ class BrowserDistribution {
virtual base::string16 GetDistributionData(HKEY root_key);
#endif
+ // Returns the path "Software\<PRODUCT>". This subkey of HKEY_CURRENT_USER can
+ // be used to save and restore state. With the exception of data that is used
+ // by third parties (e.g., a subkey that specifies the location of a native
+ // messaging host's manifest), state stored in this key is removed during
+ // uninstall when the user chooses to also delete their browsing data.
+ base::string16 GetRegistryPath();
+
virtual base::string16 GetUninstallRegPath();
// Returns an enum specifying the different ways in which this distribution
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698