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

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

Issue 1439803002: Remove logic for unused foreground auto-launch mode on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d1_rm_auto_launch_trial
Patch Set: Created 5 years, 1 month 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
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc
index 978646fa60e99b4e4d15ceac4e114a62bb161ee2..3eb5e4250d6c77eca887226907c28af684869bf8 100644
--- a/chrome/installer/setup/install.cc
+++ b/chrome/installer/setup/install.cc
@@ -26,7 +26,6 @@
#include "chrome/installer/setup/setup_constants.h"
#include "chrome/installer/setup/setup_util.h"
#include "chrome/installer/setup/update_active_setup_version_work_item.h"
-#include "chrome/installer/util/auto_launch_util.h"
#include "chrome/installer/util/beacons.h"
#include "chrome/installer/util/browser_distribution.h"
#include "chrome/installer/util/create_reg_key_work_item.h"
@@ -554,22 +553,6 @@ InstallStatus InstallOrUpdateProduct(
RegisterChromeOnMachine(installer_state, *chrome_product,
make_chrome_default || force_chrome_default_for_user);
- // Configure auto-launch.
- if (result == FIRST_INSTALL_SUCCESS) {
- installer_state.UpdateStage(installer::CONFIGURE_AUTO_LAUNCH);
-
- // Add auto-launch key if specified in master_preferences.
- bool auto_launch_chrome = false;
- prefs.GetBool(
- installer::master_preferences::kAutoLaunchChrome,
- &auto_launch_chrome);
- if (auto_launch_chrome) {
- auto_launch_util::EnableForegroundStartAtLogin(
- base::ASCIIToUTF16(chrome::kInitialProfile),
- installer_state.target_path());
- }
- }
-
if (!installer_state.system_install()) {
DCHECK_EQ(chrome_product->distribution(),
BrowserDistribution::GetDistribution());

Powered by Google App Engine
This is Rietveld 408576698