Chromium Code Reviews| Index: chrome/installer/setup/uninstall.cc |
| =================================================================== |
| --- chrome/installer/setup/uninstall.cc (revision 132169) |
| +++ chrome/installer/setup/uninstall.cc (working copy) |
| @@ -763,11 +763,12 @@ |
| if (is_chrome) { |
| ClearRlzProductState(); |
| - if (auto_launch_util::WillLaunchAtLogin( |
| + if (auto_launch_util::WillLaunchAtLoginWithSwitch( |
| installer_state.target_path(), |
| - ASCIIToUTF16(chrome::kInitialProfile))) { |
| - auto_launch_util::SetWillLaunchAtLogin( |
| - false, FilePath(), ASCIIToUTF16(chrome::kInitialProfile)); |
| + ASCIIToUTF16(chrome::kInitialProfile), |
|
Andrew T Wilson (Slow)
2012/04/16 22:57:33
Why do we need to call this first? Can't we just c
|
| + "")) { |
| + auto_launch_util::DisableAllAutostartFeatures(ASCIIToUTF16( |
| + chrome::kInitialProfile)); |
| } |
| } |