summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/master_preferences.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/installer/util/master_preferences.cc b/chrome/installer/util/master_preferences.cc
index 4ff8b2f..8a7c637 100644
--- a/chrome/installer/util/master_preferences.cc
+++ b/chrome/installer/util/master_preferences.cc
@@ -79,6 +79,9 @@ const wchar_t kDistroImportHomePagePref[] = L"import_home_page";
bool GetDistributionPingDelay(const FilePath& master_prefs_path,
int& delay) {
+ // 90 seconds is the default that we want to use in case master preferences
+ // is missing or corrupt.
+ delay = 90;
FilePath master_prefs = master_prefs_path;
if (master_prefs.empty()) {
if (!PathService::Get(base::DIR_EXE, &master_prefs))