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

Unified Diff: chrome/installer/setup/install.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/install.cc
===================================================================
--- chrome/installer/setup/install.cc (revision 132169)
+++ chrome/installer/setup/install.cc (working copy)
@@ -451,9 +451,10 @@
&auto_launch_chrome);
if (auto_launch_chrome) {
auto_launch_util::SetWillLaunchAtLogin(
- true,
installer_state.target_path(),
- ASCIIToUTF16(chrome::kInitialProfile));
+ ASCIIToUTF16(chrome::kInitialProfile),
+ auto_launch_util::FLAG_ENABLE, // Auto start.
+ auto_launch_util::FLAG_PRESERVE); // Background mode.
}
}
}

Powered by Google App Engine
This is Rietveld 408576698