Chromium Code Reviews| Index: chrome/installer/setup/uninstall.cc |
| =================================================================== |
| --- chrome/installer/setup/uninstall.cc (revision 120769) |
| +++ chrome/installer/setup/uninstall.cc (working copy) |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| @@ -738,8 +738,12 @@ |
| if (is_chrome) { |
| ClearRlzProductState(); |
| - if (auto_launch_util::WillLaunchAtLogin(installer_state.target_path())) |
| - auto_launch_util::SetWillLaunchAtLogin(false, FilePath()); |
| + if (auto_launch_util::WillLaunchAtLogin( |
|
grt (UTC plus 2)
2012/02/07 16:36:04
This won't work if custom user data dirs are in us
Finnur
2012/02/07 18:20:30
Hmm... It will not, but I'd rather disable this fe
grt (UTC plus 2)
2012/02/07 18:39:19
Iterate and delete will be required if/when the fe
|
| + installer_state.target_path(), |
| + ASCIIToUTF16(chrome::kInitialProfile))) { |
| + auto_launch_util::SetWillLaunchAtLogin( |
| + false, FilePath(), ASCIIToUTF16(chrome::kInitialProfile)); |
| + } |
| } |
| // First delete shortcuts from Start->Programs, Desktop & Quick Launch. |