summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 00:24:07 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 00:24:07 +0000
commiteb0d9f452ff2123ed3a04d836e005c4d62126d04 (patch)
tree623a9b67d2adfa5bc4ae83f4c6a01499d3d0c2cf /chrome
parent67c68b544e429d34a445d20a83d5d3d6993aa7d0 (diff)
downloadchromium_src-eb0d9f452ff2123ed3a04d836e005c4d62126d04.zip
chromium_src-eb0d9f452ff2123ed3a04d836e005c4d62126d04.tar.gz
chromium_src-eb0d9f452ff2123ed3a04d836e005c4d62126d04.tar.bz2
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
Diffstat (limited to 'chrome')
-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))