summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup/setup_main.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 21:58:41 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 21:58:41 +0000
commitd1572f4a4eddfb0a94e6548c8987aa76f75a2863 (patch)
tree493ec32f3a3bb7484c06e6db34c28024e73b9c62 /chrome/installer/setup/setup_main.cc
parent7086d56e3fde7f710347d7f58ee998a901754744 (diff)
downloadchromium_src-d1572f4a4eddfb0a94e6548c8987aa76f75a2863.zip
chromium_src-d1572f4a4eddfb0a94e6548c8987aa76f75a2863.tar.gz
chromium_src-d1572f4a4eddfb0a94e6548c8987aa76f75a2863.tar.bz2
cleanup
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/setup/setup_main.cc')
-rw-r--r--chrome/installer/setup/setup_main.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 0f0d41a..daae996 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -301,7 +301,7 @@ bool CheckPreInstallConditions(const installer::Version* installed_version,
installer_util::InstallStatus InstallChrome(const CommandLine& cmd_line,
const installer::Version* installed_version, const DictionaryValue* prefs) {
- bool system_level = installer_util::GetBooleanPreference(prefs,
+ bool system_level = installer_util::GetDistroBooleanPreference(prefs,
installer_util::master_preferences::kSystemLevel);
installer_util::InstallStatus install_status = installer_util::UNKNOWN_STATUS;
if (!CheckPreInstallConditions(installed_version,
@@ -395,11 +395,11 @@ installer_util::InstallStatus InstallChrome(const CommandLine& cmd_line,
install_msg_base, &chrome_exe);
if (install_status == installer_util::FIRST_INSTALL_SUCCESS) {
LOG(INFO) << "First install successful.";
- if (installer_util::GetBooleanPreference(prefs,
+ if (installer_util::GetDistroBooleanPreference(prefs,
installer_util::master_preferences::kMasterPreferencesValid))
CopyPreferenceFileForFirstRun(system_level, cmd_line);
// We never want to launch Chrome in system level install mode.
- if (!system_level && !installer_util::GetBooleanPreference(prefs,
+ if (!system_level && !installer_util::GetDistroBooleanPreference(prefs,
installer_util::master_preferences::kDoNotLaunchChrome))
installer::LaunchChrome(system_level);
}
@@ -617,11 +617,11 @@ int WINAPI wWinMain(HINSTANCE instance, HINSTANCE prev_instance,
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
installer::InitInstallerLogging(parsed_command_line);
scoped_ptr<DictionaryValue> prefs(GetInstallPreferences(parsed_command_line));
- if (installer_util::GetBooleanPreference(prefs.get(),
+ if (installer_util::GetDistroBooleanPreference(prefs.get(),
installer_util::master_preferences::kVerboseLogging))
logging::SetMinLogLevel(logging::LOG_INFO);
- bool system_install = installer_util::GetBooleanPreference(prefs.get(),
+ bool system_install = installer_util::GetDistroBooleanPreference(prefs.get(),
installer_util::master_preferences::kSystemLevel);
LOG(INFO) << "system install is " << system_install;