Index: chrome/installer/util/master_preferences.cc |
diff --git a/chrome/installer/util/master_preferences.cc b/chrome/installer/util/master_preferences.cc |
index 7bf5c2f79f8a5e78890bf6948314ea81b3702311..2c08b1f2043ed0a6d5bc149e18c15e3979d93bc6 100644 |
--- a/chrome/installer/util/master_preferences.cc |
+++ b/chrome/installer/util/master_preferences.cc |
@@ -73,7 +73,6 @@ namespace installer { |
MasterPreferences::MasterPreferences() : distribution_(NULL), |
preferences_read_from_file_(false), |
chrome_(true), |
- chrome_app_launcher_(false), |
multi_install_(false) { |
InitializeFromCommandLine(*base::CommandLine::ForCurrentProcess()); |
} |
@@ -82,7 +81,6 @@ MasterPreferences::MasterPreferences(const base::CommandLine& cmd_line) |
: distribution_(NULL), |
preferences_read_from_file_(false), |
chrome_(true), |
- chrome_app_launcher_(false), |
multi_install_(false) { |
InitializeFromCommandLine(cmd_line); |
} |
@@ -91,7 +89,6 @@ MasterPreferences::MasterPreferences(const base::FilePath& prefs_path) |
: distribution_(NULL), |
preferences_read_from_file_(false), |
chrome_(true), |
- chrome_app_launcher_(false), |
multi_install_(false) { |
std::string json_data; |
// Failure to read the file is ignored as |json_data| will be the empty string |
@@ -109,7 +106,6 @@ MasterPreferences::MasterPreferences(const std::string& prefs) |
: distribution_(NULL), |
preferences_read_from_file_(false), |
chrome_(true), |
- chrome_app_launcher_(false), |
multi_install_(false) { |
InitializeFromString(prefs); |
} |
@@ -139,10 +135,6 @@ void MasterPreferences::InitializeFromCommandLine( |
} translate_switches[] = { |
{ installer::switches::kAutoLaunchChrome, |
installer::master_preferences::kAutoLaunchChrome }, |
- { installer::switches::kChromeAppHostDeprecated, |
- installer::master_preferences::kChromeAppHostDeprecated }, |
- { installer::switches::kChromeAppLauncher, |
- installer::master_preferences::kChromeAppLauncher }, |
{ installer::switches::kChrome, |
installer::master_preferences::kChrome }, |
{ installer::switches::kDisableLogging, |
@@ -225,20 +217,10 @@ bool MasterPreferences::InitializeFromString(const std::string& json_data) { |
void MasterPreferences::InitializeProductFlags() { |
// Make sure we start out with the correct defaults. |
multi_install_ = false; |
- chrome_app_launcher_ = false; |
chrome_ = true; |
GetBool(installer::master_preferences::kMultiInstall, &multi_install_); |
- GetBool(installer::master_preferences::kChromeAppLauncher, |
- &chrome_app_launcher_); |
- |
- // The deprecated switch --app-host behaves like --app-launcher. |
- bool chrome_app_host = false; |
- GetBool(installer::master_preferences::kChromeAppHostDeprecated, |
- &chrome_app_host); |
- chrome_app_launcher_ = chrome_app_launcher_ || chrome_app_host; |
- |
// When multi-install is specified, the checks are pretty simple (in theory): |
// In order to be installed/uninstalled, each product must have its switch |
// present on the command line. |