diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-24 09:16:15 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-24 09:16:15 +0000 |
commit | 58e2dfd2b646ccf2246ac0827d2376d5b8c79384 (patch) | |
tree | 168f6310ba7cfc035117ad10a10eb513f098e0a7 /chrome/browser/upgrade_detector.cc | |
parent | 09bec861f07dda20e2803c72c3805d53df203fcd (diff) | |
download | chromium_src-58e2dfd2b646ccf2246ac0827d2376d5b8c79384.zip chromium_src-58e2dfd2b646ccf2246ac0827d2376d5b8c79384.tar.gz chromium_src-58e2dfd2b646ccf2246ac0827d2376d5b8c79384.tar.bz2 |
Wording change for the upgrade detection mechanism and increase timer to check daily (as opposed to every hour).
BUG=50070
TEST=None (everything should work as before, with new wording for the upgrade reminder and a longer timer to trigger)
Review URL: http://codereview.chromium.org/3009021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/upgrade_detector.cc')
-rw-r--r-- | chrome/browser/upgrade_detector.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc index 38bd2cd..8001797 100644 --- a/chrome/browser/upgrade_detector.cc +++ b/chrome/browser/upgrade_detector.cc @@ -31,16 +31,12 @@ #include "chrome/installer/util/version.h" #endif -// TODO(finnur): For the stable channel we want to check daily and notify -// the user if more than 2 weeks have passed since the upgrade happened -// (without a reboot). For the dev channel however, I want quicker feedback -// on how the feature works so I'm checking every hour and notifying the -// user immediately. - namespace { // How often to check for an upgrade. -const int kCheckForUpgradeEveryMs = 60 * 60 * 1000; // 1 hour. +// TODO(finnur): Once we have a good way of determining which branch the user +// is on at runtime we should check more frequently for the dev branch. +const int kCheckForUpgradeEveryMs = 24 * 60 * 60 * 1000; // Check daily. // How long to wait before notifying the user about the upgrade. const int kNotifyUserAfterMs = 0; |