| 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_UPGRADE_DETECTOR_H_ | 5 #ifndef CHROME_BROWSER_UPGRADE_DETECTOR_H_ |
| 6 #define CHROME_BROWSER_UPGRADE_DETECTOR_H_ | 6 #define CHROME_BROWSER_UPGRADE_DETECTOR_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| 10 #include "chrome/browser/chrome_notification_types.h" | 11 #include "chrome/browser/chrome_notification_types.h" |
| 11 #include "ui/base/idle/idle.h" | 12 #include "ui/base/idle/idle.h" |
| 12 #include "ui/gfx/image/image.h" | 13 #include "ui/gfx/image/image.h" |
| 13 | 14 |
| 14 class PrefRegistrySimple; | 15 class PrefRegistrySimple; |
| 15 | 16 |
| 16 /////////////////////////////////////////////////////////////////////////////// | 17 /////////////////////////////////////////////////////////////////////////////// |
| 17 // UpgradeDetector | 18 // UpgradeDetector |
| 18 // | 19 // |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 UpgradeNotificationAnnoyanceLevel upgrade_notification_stage_; | 171 UpgradeNotificationAnnoyanceLevel upgrade_notification_stage_; |
| 171 | 172 |
| 172 // Whether we have waited long enough after detecting an upgrade (to see | 173 // Whether we have waited long enough after detecting an upgrade (to see |
| 173 // is we should start nagging about upgrading). | 174 // is we should start nagging about upgrading). |
| 174 bool notify_upgrade_; | 175 bool notify_upgrade_; |
| 175 | 176 |
| 176 DISALLOW_COPY_AND_ASSIGN(UpgradeDetector); | 177 DISALLOW_COPY_AND_ASSIGN(UpgradeDetector); |
| 177 }; | 178 }; |
| 178 | 179 |
| 179 #endif // CHROME_BROWSER_UPGRADE_DETECTOR_H_ | 180 #endif // CHROME_BROWSER_UPGRADE_DETECTOR_H_ |
| OLD | NEW |