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