Chromium Code Reviews| Index: chrome/browser/shell_integration_win.cc |
| diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc |
| index 32790758ac80e8dca1611102a0d4ba660584e21b..3c427c190ffc1515c1a39eab9e104b096a387eff 100644 |
| --- a/chrome/browser/shell_integration_win.cc |
| +++ b/chrome/browser/shell_integration_win.cc |
| @@ -425,20 +425,18 @@ string16 ShellIntegration::GetAppListAppModelIdForProfile( |
| profile_path); |
| } |
| -string16 ShellIntegration::GetChromiumIconPath() { |
| +string16 ShellIntegration::GetChromiumIconString() { |
| // Determine the app path. If we can't determine what that is, we have |
|
gab
2012/11/14 21:34:34
s/app path/path to chrome.exe
huangs
2012/11/14 21:57:01
Done.
|
| // bigger fish to fry... |
| - FilePath app_path; |
| - if (!PathService::Get(base::FILE_EXE, &app_path)) { |
| + FilePath chrome_exe; |
| + if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { |
| NOTREACHED(); |
| return string16(); |
| } |
| - string16 icon_path(app_path.value()); |
| - icon_path.push_back(','); |
| - icon_path += base::IntToString16( |
| + return ShellUtil::GetIconString( |
| + chrome_exe.value(), |
| BrowserDistribution::GetDistribution()->GetIconIndex()); |
| - return icon_path; |
| } |
| void ShellIntegration::MigrateChromiumShortcuts() { |