Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2082)

Unified Diff: chrome/installer/setup/uninstall.cc

Issue 9972012: Resolve the conflict that auto-launch has with the background mode feature (part 1). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/uninstall.cc
===================================================================
--- chrome/installer/setup/uninstall.cc (revision 132169)
+++ chrome/installer/setup/uninstall.cc (working copy)
@@ -763,11 +763,15 @@
if (is_chrome) {
ClearRlzProductState();
- if (auto_launch_util::WillLaunchAtLogin(
+ if (auto_launch_util::WillLaunchAtLoginWithSwitch(
installer_state.target_path(),
- ASCIIToUTF16(chrome::kInitialProfile))) {
+ ASCIIToUTF16(chrome::kInitialProfile),
+ "")) {
auto_launch_util::SetWillLaunchAtLogin(
- false, FilePath(), ASCIIToUTF16(chrome::kInitialProfile));
+ FilePath(),
+ ASCIIToUTF16(chrome::kInitialProfile),
+ auto_launch_util::FLAG_DISABLE,
+ auto_launch_util::FLAG_DISABLE);
}
}

Powered by Google App Engine
This is Rietveld 408576698