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

Unified Diff: components/network_time/network_time_tracker.h

Issue 2449193002: Attempt an on-demand time fetch when encountering a date invalid error (Closed)
Patch Set: meacer nits Created 4 years, 1 month 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 | « components/network_time/network_time_test_utils.cc ('k') | 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 fb9aa4ef7a023f6f1d163b8884639e2a13ad7821..e296043db1659551c3256e60f4141a09c2d0e9ee 100644
--- a/components/network_time/network_time_tracker.h
+++ b/components/network_time/network_time_tracker.h
@@ -130,10 +130,14 @@ class NetworkTimeTracker : public net::URLFetcherDelegate {
void SetTimeServerURLForTesting(const GURL& url);
+ GURL GetTimeServerURLForTesting() const;
+
bool QueryTimeServiceForTesting();
void WaitForFetchForTesting(uint32_t nonce);
+ void OverrideNonceForTesting(uint32_t nonce);
+
base::TimeDelta GetTimerDelayForTesting() const;
private:
« no previous file with comments | « components/network_time/network_time_test_utils.cc ('k') | components/network_time/network_time_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698