| Index: chrome/browser/shell_integration_win.cc
|
| diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
|
| index cece2f115d79b27da63740ac40c5173f3ebb9706..d6de8c5c44f797b7e7422e5c2c218c816d3b16e6 100644
|
| --- a/chrome/browser/shell_integration_win.cc
|
| +++ b/chrome/browser/shell_integration_win.cc
|
| @@ -361,20 +361,6 @@ string16 ShellIntegration::GetAppListAppModelIdForProfile(
|
| GetAppListAppName(), profile_path);
|
| }
|
|
|
| -string16 ShellIntegration::GetChromiumIconLocation() {
|
| - // Determine the path to chrome.exe. If we can't determine what that is,
|
| - // we have bigger fish to fry...
|
| - base::FilePath chrome_exe;
|
| - if (!PathService::Get(base::FILE_EXE, &chrome_exe)) {
|
| - NOTREACHED();
|
| - return string16();
|
| - }
|
| -
|
| - return ShellUtil::FormatIconLocation(
|
| - chrome_exe.value(),
|
| - BrowserDistribution::GetDistribution()->GetIconIndex());
|
| -}
|
| -
|
| void ShellIntegration::MigrateChromiumShortcuts() {
|
| if (base::win::GetVersion() < base::win::VERSION_WIN7)
|
| return;
|
| @@ -515,7 +501,8 @@ base::FilePath ShellIntegration::GetStartMenuShortcut(
|
| base::DIR_START_MENU,
|
| };
|
| BrowserDistribution* dist = BrowserDistribution::GetDistribution();
|
| - string16 shortcut_name(dist->GetAppShortCutName());
|
| + string16 shortcut_name(
|
| + dist->GetShortcutName(BrowserDistribution::SHORTCUT_CHROME));
|
| base::FilePath shortcut;
|
|
|
| // Check both the common and the per-user Start Menu folders for system-level
|
|
|