From eb0d9f452ff2123ed3a04d836e005c4d62126d04 Mon Sep 17 00:00:00 2001 From: "kuchhal@chromium.org" Date: Tue, 7 Jul 2009 00:24:07 +0000 Subject: The default ping delay should be 90 seconds. BUG=1953127 Review URL: http://codereview.chromium.org/149220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19995 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/util/master_preferences.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome') 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)) -- cgit v1.1