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

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

Issue 194118: Add a new flag to the installer to prevent registering for a Google Update la... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « no previous file | chrome/installer/setup/setup_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_main.cc
===================================================================
--- chrome/installer/setup/setup_main.cc (revision 26224)
+++ chrome/installer/setup/setup_main.cc (working copy)
@@ -270,8 +270,14 @@
install_msg_base = 0;
}
}
+
+ bool write_chrome_launch_string =
+ !installer_util::GetDistroBooleanPreference(prefs,
+ installer_util::master_preferences::kDoNotRegisterForUpdateLaunch);
+
InstallUtil::WriteInstallerResult(system_level, install_status,
- install_msg_base, &chrome_exe);
+ install_msg_base, write_chrome_launch_string ? &chrome_exe : NULL);
+
if (install_status == installer_util::FIRST_INSTALL_SUCCESS) {
LOG(INFO) << "First install successful.";
// We never want to launch Chrome in system level install mode.
« no previous file with comments | « no previous file | chrome/installer/setup/setup_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698