Index: chrome/browser/chromeos/upgrade_detector_chromeos.h |
diff --git a/chrome/browser/chromeos/upgrade_detector_chromeos.h b/chrome/browser/chromeos/upgrade_detector_chromeos.h |
index 86e5b508a258ec283c0b5b439ab3abee0102b192..e343d6b03ce5a4c771152426629f977ca8c68ce7 100644 |
--- a/chrome/browser/chromeos/upgrade_detector_chromeos.h |
+++ b/chrome/browser/chromeos/upgrade_detector_chromeos.h |
@@ -19,6 +19,14 @@ class UpgradeDetectorChromeos : public UpgradeDetector, |
static UpgradeDetectorChromeos* GetInstance(); |
+ // Initializes the object. Starts observing changes from the update |
+ // engine. |
+ void Init(); |
+ |
+ // Shuts down the object. Stops observing observe changes from the |
+ // update engine. |
+ void Shutdown(); |
+ |
private: |
friend struct DefaultSingletonTraits<UpgradeDetectorChromeos>; |
@@ -36,6 +44,7 @@ class UpgradeDetectorChromeos : public UpgradeDetector, |
// After we detect an upgrade we start a recurring timer to see if enough time |
// has passed and we should start notifying the user. |
base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_; |
+ bool initialized_; |
}; |
#endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ |