| Index: chrome/installer/util/shell_util.cc
|
| diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
|
| index c4705a86166d615e6ad487b567f907b9fa01606a..d00e2623239d44dab6bece5de669cba054319f08 100644
|
| --- a/chrome/installer/util/shell_util.cc
|
| +++ b/chrome/installer/util/shell_util.cc
|
| @@ -81,12 +81,13 @@ class RegistryEntry {
|
| start_menu_entry + ShellUtil::kRegDefaultIcon, icon_path));
|
|
|
| std::wstring install_info(start_menu_entry + L"\\InstallInfo");
|
| + // TODO: use CommandLine API instead of constructing command lines.
|
| entries->push_front(new RegistryEntry(install_info, L"ReinstallCommand",
|
| - quoted_exe_path + L" --" + switches::kMakeDefaultBrowser));
|
| + quoted_exe_path + L" --" + ASCIIToWide(switches::kMakeDefaultBrowser)));
|
| entries->push_front(new RegistryEntry(install_info, L"HideIconsCommand",
|
| - quoted_exe_path + L" --" + switches::kHideIcons));
|
| + quoted_exe_path + L" --" + ASCIIToWide(switches::kHideIcons)));
|
| entries->push_front(new RegistryEntry(install_info, L"ShowIconsCommand",
|
| - quoted_exe_path + L" --" + switches::kShowIcons));
|
| + quoted_exe_path + L" --" + ASCIIToWide(switches::kShowIcons)));
|
| entries->push_front(new RegistryEntry(install_info, L"IconsVisible", 1));
|
|
|
| std::wstring capabilities(start_menu_entry + L"\\Capabilities");
|
|
|