Chromium Code Reviews| Index: chrome/installer/setup/uninstall.cc |
| =================================================================== |
| --- chrome/installer/setup/uninstall.cc (revision 119922) |
| +++ 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,11 @@ |
| if (is_chrome) { |
| ClearRlzProductState(); |
| - if (auto_launch_util::WillLaunchAtLogin(installer_state.target_path())) |
| - auto_launch_util::SetWillLaunchAtLogin(false, FilePath()); |
| + FilePath path = product.GetUserDataPath().AppendASCII("Default"); |
|
grt (UTC plus 2)
2012/02/01 18:45:15
"Default" -> chrome::kInitialProfile
grt (UTC plus 2)
2012/02/01 18:45:15
nit: path -> profile_path or somesuch?
|
| + if (auto_launch_util::WillLaunchAtLogin(installer_state.target_path(), |
| + path)) { |
| + auto_launch_util::SetWillLaunchAtLogin(false, FilePath(), path); |
| + } |
| } |
| // First delete shortcuts from Start->Programs, Desktop & Quick Launch. |