Index: chrome/installer/setup/uninstall.cc |
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc |
index 7f8e7cebb35ffd0f6f41dd0b02dee13556d2fe3d..e53c42a53b0b4ff24c68c3cd15770b5092f42e16 100644 |
--- a/chrome/installer/setup/uninstall.cc |
+++ b/chrome/installer/setup/uninstall.cc |
@@ -686,7 +686,8 @@ void RemoveFiletypeRegistration(const InstallerState& installer_state, |
string16 classes_path(ShellUtil::kRegClasses); |
classes_path.push_back(base::FilePath::kSeparators[0]); |
- const string16 prog_id(ShellUtil::kChromeHTMLProgId + browser_entry_suffix); |
+ const string16 prog_id(ShellUtil::GetBrowserProgIdPrefix() + |
+ browser_entry_suffix); |
// Delete each filetype association if it references this Chrome. Take care |
// not to delete the association if it references a system-level install of |
@@ -759,7 +760,8 @@ bool DeleteChromeRegistrationKeys(const InstallerState& installer_state, |
base::FilePath chrome_exe(installer_state.target_path().Append(kChromeExe)); |
// Delete Software\Classes\ChromeHTML. |
- const string16 prog_id(ShellUtil::kChromeHTMLProgId + browser_entry_suffix); |
+ const string16 prog_id(ShellUtil::GetBrowserProgIdPrefix() + |
+ browser_entry_suffix); |
string16 reg_prog_id(ShellUtil::kRegClasses); |
reg_prog_id.push_back(base::FilePath::kSeparators[0]); |
reg_prog_id.append(prog_id); |