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

Unified Diff: components/network_time/network_time_tracker.h

Issue 2565173006: Measure time between secure time queries (Closed)
Patch Set: fix static consts Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/network_time/network_time_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/network_time/network_time_tracker.h
diff --git a/components/network_time/network_time_tracker.h b/components/network_time/network_time_tracker.h
index ea5bbc5b91ab26e7235f095a9bc0fcbabae5c522..923364736780e5e876252151daea38631e1e9994 100644
--- a/components/network_time/network_time_tracker.h
+++ b/components/network_time/network_time_tracker.h
@@ -217,6 +217,12 @@ class NetworkTimeTracker : public net::URLFetcherDelegate {
// this NetworkTimeTracker's lifetime.
bool time_query_completed_;
+ // The time that was received from the last network time fetch made by
+ // CheckTime(). Unlike |network_time_at_least_measurement_|, this time
+ // is not updated when UpdateNetworkTime() is called. Used for UMA
+ // metrics.
+ base::Time last_fetched_time_;
+
// Callbacks to run when the in-progress time fetch completes.
std::vector<base::Closure> fetch_completion_callbacks_;
« no previous file with comments | « no previous file | components/network_time/network_time_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698