Index: chrome/installer/setup/install.cc |
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc |
index b8ebe94fd372897dac60815ae6fae078910fd018..9121751cce375802f9d576fcc376479dacc37e66 100644 |
--- a/chrome/installer/setup/install.cc |
+++ b/chrome/installer/setup/install.cc |
@@ -76,7 +76,7 @@ void LogShortcutOperation(ShellUtil::ShortcutLocation location, |
case ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH: |
message.append("Quick Launch "); |
break; |
- case ShellUtil::SHORTCUT_LOCATION_START_MENU: |
+ case ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR: |
message.append("Start menu "); |
gab
2013/05/15 21:26:38
s/"Start menu "/"Start menu/Google Chrome "
calamity
2013/08/27 07:59:35
Done.
|
break; |
default: |
@@ -253,8 +253,8 @@ void CleanupLegacyShortcuts(const InstallerState& installer_state, |
ShellUtil::ShellChange shortcut_level = installer_state.system_install() ? |
ShellUtil::SYSTEM_LEVEL : ShellUtil::CURRENT_USER; |
base::FilePath uninstall_shortcut_path; |
- ShellUtil::GetShortcutPath(ShellUtil::SHORTCUT_LOCATION_START_MENU, dist, |
- shortcut_level, &uninstall_shortcut_path); |
+ ShellUtil::GetShortcutPath(ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR, |
+ dist, shortcut_level, &uninstall_shortcut_path); |
uninstall_shortcut_path = uninstall_shortcut_path.Append( |
dist->GetUninstallLinkName() + installer::kLnkExt); |
file_util::Delete(uninstall_shortcut_path, false); |
@@ -450,9 +450,9 @@ void CreateOrUpdateShortcuts( |
ShellUtil::SHELL_SHORTCUT_CREATE_IF_NO_SYSTEM_LEVEL)) { |
start_menu_properties.set_pin_to_taskbar(true); |
} |
- ExecuteAndLogShortcutOperation(ShellUtil::SHORTCUT_LOCATION_START_MENU, |
- dist, start_menu_properties, |
- shortcut_operation); |
+ ExecuteAndLogShortcutOperation( |
+ ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR, |
+ dist, start_menu_properties, shortcut_operation); |
} |
void RegisterChromeOnMachine(const InstallerState& installer_state, |