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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UPGRADE_DETECTOR_IMPL_H_ |
6 #define CHROME_BROWSER_UPGRADE_DETECTOR_IMPL_H_ | 6 #define CHROME_BROWSER_UPGRADE_DETECTOR_IMPL_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
10 #include "base/version.h" | 10 #include "base/version.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 base::WeakPtrFactory<UpgradeDetectorImpl> weak_factory_; | 85 base::WeakPtrFactory<UpgradeDetectorImpl> weak_factory_; |
86 | 86 |
87 // True if this build is a dev or canary channel build. | 87 // True if this build is a dev or canary channel build. |
88 bool is_unstable_channel_; | 88 bool is_unstable_channel_; |
89 | 89 |
90 // True if auto update is turned on. | 90 // True if auto update is turned on. |
91 bool is_auto_update_enabled_; | 91 bool is_auto_update_enabled_; |
92 | 92 |
93 // When the upgrade was detected - either a software update or a variations | 93 // When the upgrade was detected - either a software update or a variations |
94 // update, whichever happened first. | 94 // update, whichever happened first. |
95 base::Time upgrade_detected_time_; | 95 base::TimeTicks upgrade_detected_time_; |
96 | 96 |
97 // The date the binaries were built. | 97 // The date the binaries were built. |
98 base::Time build_date_; | 98 base::Time build_date_; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(UpgradeDetectorImpl); | 100 DISALLOW_COPY_AND_ASSIGN(UpgradeDetectorImpl); |
101 }; | 101 }; |
102 | 102 |
103 | 103 |
104 #endif // CHROME_BROWSER_UPGRADE_DETECTOR_IMPL_H_ | 104 #endif // CHROME_BROWSER_UPGRADE_DETECTOR_IMPL_H_ |
OLD | NEW |