diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-27 06:29:27 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-27 06:29:27 +0000 |
commit | d267d66ccea236d7d5aa22dab08f553356069ab3 (patch) | |
tree | d6e76ca26d8e920f8b4d93a597cea496a97ba8a1 /chrome/browser/upgrade_detector.cc | |
parent | cf3bedab649a3dfb5b17ff0a623a94566e30fe53 (diff) | |
download | chromium_src-d267d66ccea236d7d5aa22dab08f553356069ab3.zip chromium_src-d267d66ccea236d7d5aa22dab08f553356069ab3.tar.gz chromium_src-d267d66ccea236d7d5aa22dab08f553356069ab3.tar.bz2 |
Fix warning: Unused variable.
TBR=ananta
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/2225006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/upgrade_detector.cc')
-rw-r--r-- | chrome/browser/upgrade_detector.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc index e689d21..77f865a 100644 --- a/chrome/browser/upgrade_detector.cc +++ b/chrome/browser/upgrade_detector.cc @@ -32,11 +32,13 @@ static int kNotifyUserAfterMs = 0; UpgradeDetector::UpgradeDetector() : upgrade_detected_(false), notify_upgrade_(false) { -#if defined(OS_WIN) && defined(GOOGLE_CHROME_BUILD) +#if !defined(OS_WIN) || !defined(GOOGLE_CHROME_BUILD) + return; +#endif + detect_upgrade_timer_.Start( base::TimeDelta::FromMilliseconds(kCheckForUpgradeEveryMs), this, &UpgradeDetector::CheckForUpgrade); -#endif } UpgradeDetector::~UpgradeDetector() { |