Index: chrome/installer/util/chrome_app_host_distribution.cc |
diff --git a/chrome/installer/util/chrome_app_host_distribution.cc b/chrome/installer/util/chrome_app_host_distribution.cc |
index 7c40326e1da752aff86b18e5fd9babda2192d5e9..c458cabf1ff5331cc0c50e29258b71c511ec199f 100644 |
--- a/chrome/installer/util/chrome_app_host_distribution.cc |
+++ b/chrome/installer/util/chrome_app_host_distribution.cc |
@@ -38,16 +38,19 @@ string16 ChromeAppHostDistribution::GetBaseAppName() { |
return L"Google Chrome App Launcher"; |
} |
-string16 ChromeAppHostDistribution::GetAppShortCutName() { |
- const string16& product_name = |
- installer::GetLocalizedString(IDS_PRODUCT_APP_LAUNCHER_NAME_BASE); |
- return product_name; |
-} |
- |
-string16 ChromeAppHostDistribution::GetAlternateApplicationName() { |
- const string16& product_name = |
- installer::GetLocalizedString(IDS_PRODUCT_APP_LAUNCHER_NAME_BASE); |
- return product_name; |
+string16 ChromeAppHostDistribution::GetDisplayName() { |
+ return GetShortcutName(SHORTCUT_APP_LAUNCHER); |
+} |
+ |
+string16 ChromeAppHostDistribution::GetShortcutName( |
+ ShortcutType shortcut_type) { |
+ switch (shortcut_type) { |
grt (UTC plus 2)
2013/07/05 17:27:37
as elsewhere:
DCHECK_EQ(shortcut_type, SHORTCUT_
calamity
2013/07/16 04:05:17
Done.
|
+ case SHORTCUT_APP_LAUNCHER: |
+ return installer::GetLocalizedString(IDS_PRODUCT_APP_LAUNCHER_NAME_BASE); |
+ default: |
+ NOTREACHED(); |
+ return string16(); |
+ } |
} |
string16 ChromeAppHostDistribution::GetBaseAppId() { |