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

Unified Diff: chrome/browser/shell_integration_win.cc

Issue 10446111: Abstract suffixing logic away from GetApplicationName (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | chrome/chrome_installer_util.gypi » ('j') | chrome/installer/util/browser_distribution.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/shell_integration_win.cc
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
index 69483977a8017e93031b2e36dc459bbb161b7dc4..6e6b3007128fd96cba2e56e9e8d6c9e57ea8847e 100644
--- a/chrome/browser/shell_integration_win.cc
+++ b/chrome/browser/shell_integration_win.cc
@@ -99,8 +99,7 @@ ShellIntegration::DefaultWebClientState ProbeAppIsDefaultHandlers(
return ShellIntegration::UNKNOWN_DEFAULT_WEB_CLIENT;
BrowserDistribution* dist = BrowserDistribution::GetDistribution();
- string16 app_name(dist->GetApplicationName());
- app_name += ShellUtil::GetCurrentInstallationSuffix();
+ string16 app_name(dist->GetAppName());
BOOL result;
for (size_t i = 0; i < num_protocols; ++i) {
« no previous file with comments | « no previous file | chrome/chrome_installer_util.gypi » ('j') | chrome/installer/util/browser_distribution.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698