Chromium Code Reviews| Index: chrome/browser/profiles/profile_shortcut_manager_win.cc |
| =================================================================== |
| --- chrome/browser/profiles/profile_shortcut_manager_win.cc (revision 132169) |
| +++ chrome/browser/profiles/profile_shortcut_manager_win.cc (working copy) |
| @@ -208,10 +208,11 @@ |
| void DeleteAutoLaunchValueForProfile( |
| const FilePath& profile_path) { |
| - if (auto_launch_util::WillLaunchAtLogin(FilePath(), |
| - profile_path.BaseName().value())) { |
| - auto_launch_util::SetWillLaunchAtLogin( |
| - false, FilePath(), profile_path.BaseName().value()); |
| + if (auto_launch_util::WillLaunchAtLoginWithSwitch( |
|
grt (UTC plus 2)
2012/04/16 19:43:58
can you do away with the "WithSwitch" part of this
|
| + FilePath(), |
| + profile_path.BaseName().value(), |
| + switches::kAutoLaunchAtStartup)) { |
| + auto_launch_util::DisableAutoStartAtLogin(profile_path.BaseName().value()); |
| } |
| } |