Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: chrome/browser/upgrade_detector_impl.h

Issue 500623002: Use TimeTicks::Now() instead of Time::Now() in upgrade detector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix type. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698