diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-31 21:58:41 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-31 21:58:41 +0000 |
commit | d1572f4a4eddfb0a94e6548c8987aa76f75a2863 (patch) | |
tree | 493ec32f3a3bb7484c06e6db34c28024e73b9c62 /chrome/browser/first_run_win.cc | |
parent | 7086d56e3fde7f710347d7f58ee998a901754744 (diff) | |
download | chromium_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/browser/first_run_win.cc')
-rw-r--r-- | chrome/browser/first_run_win.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/first_run_win.cc b/chrome/browser/first_run_win.cc index f14a3ea..c0ffb6fe 100644 --- a/chrome/browser/first_run_win.cc +++ b/chrome/browser/first_run_win.cc @@ -185,11 +185,11 @@ bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, return true; if (new_tabs) - *new_tabs = installer_util::ParseFirstRunTabs(prefs.get()); + *new_tabs = installer_util::GetFirstRunTabs(prefs.get()); if (ping_delay) installer_util::GetDistributionPingDelay(prefs.get(), ping_delay); - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kRequireEula)) { // Show the post-installation EULA. This is done by setup.exe and the // result determines if we continue or not. We wait here until the user @@ -216,7 +216,7 @@ bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, } } - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kAltFirstRunBubble)) FirstRun::SetOEMFirstRunBubblePref(); @@ -229,7 +229,7 @@ bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, if (!file_util::CopyFile(master_prefs, user_prefs)) return true; - if (!installer_util::GetBooleanPreference(prefs.get(), + if (!installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kDistroSkipFirstRunPref)) return true; @@ -243,21 +243,21 @@ bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, if (!FirstRun::CreateSentinel()) return false; - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kDistroShowWelcomePage)) FirstRun::SetShowWelcomePagePref(); int import_items = 0; - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kDistroImportSearchPref)) import_items += SEARCH_ENGINES; - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kDistroImportHistoryPref)) import_items += HISTORY; - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kDistroImportBookmarksPref)) import_items += FAVORITES; - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kDistroImportHomePagePref)) import_items += HOME_PAGE; @@ -272,7 +272,7 @@ bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, } } - if (installer_util::GetBooleanPreference(prefs.get(), + if (installer_util::GetDistroBooleanPreference(prefs.get(), installer_util::master_preferences::kMakeChromeDefaultForUser)) ShellIntegration::SetAsDefaultBrowser(); |