diff options
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/util/google_update_constants.cc | 5 | ||||
-rw-r--r-- | chrome/installer/util/google_update_constants.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/chrome/installer/util/google_update_constants.cc b/chrome/installer/util/google_update_constants.cc index 5455aff..496c530 100644 --- a/chrome/installer/util/google_update_constants.cc +++ b/chrome/installer/util/google_update_constants.cc @@ -31,4 +31,7 @@ const wchar_t kRegReferralField[] = L"referral"; const wchar_t kRegEULAAceptedField[] = L"eulaaccepted"; const wchar_t kEnvProductVersionKey[] = L"CHROME_VERSION"; const wchar_t kRegLastRunTimeField[] = L"lastrun"; -} // namespace installer + +const int kUpdateCheckInvervalHours = 6; + +} // namespace google_update diff --git a/chrome/installer/util/google_update_constants.h b/chrome/installer/util/google_update_constants.h index 45d3996..4479d66 100644 --- a/chrome/installer/util/google_update_constants.h +++ b/chrome/installer/util/google_update_constants.h @@ -45,6 +45,10 @@ extern const wchar_t kEnvProductVersionKey[]; // last time that chrome ran in the Time internal format. extern const wchar_t kRegLastRunTimeField[]; +// How often to check if the persistent instance of Chrome needs to restart +// to install an update. +extern const int kUpdateCheckInvervalHours; + } // namespace google_update #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_CONSTANTS_H_ |