Index: chrome/browser/shell_integration_win.cc |
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc |
index 869b5b51311f5ff8019a259bc8d3301c07c44629..69483977a8017e93031b2e36dc459bbb161b7dc4 100644 |
--- a/chrome/browser/shell_integration_win.cc |
+++ b/chrome/browser/shell_integration_win.cc |
@@ -74,14 +74,7 @@ ShellIntegration::DefaultWebClientState ProbeCurrentDefaultHandlers( |
return ShellIntegration::UNKNOWN_DEFAULT_WEB_CLIENT; |
string16 prog_id(ShellUtil::kChromeHTMLProgId); |
- |
- // If a user specific default browser entry exists, we check for that ProgID |
- // being default. If not, then the ProgID is ChromeHTML or ChromiumHTML so we |
- // do not append a suffix to the ProgID. |
- string16 suffix; |
- BrowserDistribution* dist = BrowserDistribution::GetDistribution(); |
- if (ShellUtil::GetUserSpecificDefaultBrowserSuffix(dist, &suffix)) |
- prog_id += suffix; |
+ prog_id += ShellUtil::GetCurrentInstallationSuffix(); |
for (size_t i = 0; i < num_protocols; ++i) { |
base::win::ScopedCoMem<wchar_t> current_app; |
@@ -107,13 +100,7 @@ ShellIntegration::DefaultWebClientState ProbeAppIsDefaultHandlers( |
BrowserDistribution* dist = BrowserDistribution::GetDistribution(); |
string16 app_name(dist->GetApplicationName()); |
- |
- // If a user specific default browser entry exists, we check for that |
- // app name being default. If not, then default browser is just called |
- // Google Chrome or Chromium so we do not append a suffix to the app name. |
- string16 suffix; |
- if (ShellUtil::GetUserSpecificDefaultBrowserSuffix(dist, &suffix)) |
- app_name += suffix; |
+ app_name += ShellUtil::GetCurrentInstallationSuffix(); |
BOOL result; |
for (size_t i = 0; i < num_protocols; ++i) { |