| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/timer.h" | 9 #include "base/timer.h" |
| 10 #include "chrome/browser/chromeos/cros/update_library.h" | 10 #include "chrome/browser/chromeos/cros/update_library.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 // elapsed) that lets the rest of the UI know we should start notifying the | 31 // elapsed) that lets the rest of the UI know we should start notifying the |
| 32 // user that a new version is available. | 32 // user that a new version is available. |
| 33 void NotifyOnUpgrade(); | 33 void NotifyOnUpgrade(); |
| 34 | 34 |
| 35 // After we detect an upgrade we start a recurring timer to see if enough time | 35 // After we detect an upgrade we start a recurring timer to see if enough time |
| 36 // has passed and we should start notifying the user. | 36 // has passed and we should start notifying the user. |
| 37 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_; | 37 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ | 40 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ |
| OLD | NEW |