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

Unified Diff: chrome/installer/setup/uninstall.cc

Issue 12390082: Fix some comments in DeleteChromeRegistrationKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: +periods Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index 2458eeff1ab688ad0262e76fdbde40ee97d977bb..89436a9e372c88c777e6acdf5aa21d1d8dc75280 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -764,16 +764,13 @@ bool DeleteChromeRegistrationKeys(const InstallerState& installer_state,
base::FilePath chrome_exe(installer_state.target_path().Append(kChromeExe));
// Delete Software\Classes\ChromeHTML.
- // For user-level installs we now only write these entries in HKCU, but since
- // old installs did install them to HKLM we will try to remove them in HKLM as
- // well anyways.
const string16 prog_id(ShellUtil::kChromeHTMLProgId + browser_entry_suffix);
string16 reg_prog_id(ShellUtil::kRegClasses);
reg_prog_id.push_back(base::FilePath::kSeparators[0]);
reg_prog_id.append(prog_id);
InstallUtil::DeleteRegistryKey(root, reg_prog_id);
- // Delete Software\Classes\Chrome (Same comment as above applies for this too)
+ // Delete Software\Classes\Chrome.
string16 reg_app_id(ShellUtil::kRegClasses);
reg_app_id.push_back(base::FilePath::kSeparators[0]);
// Append the requested suffix manually here (as ShellUtil::GetBrowserModelId
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698