DescriptionAdd NetworkTimeTracker::StartTimeFetch() for on-demand time queries
Since network time is frequently not available when a certificate date
error is encountered, this CL adds a method to start a time fetch on
demand and call a callback when the on-demand fetch completes.
A follow-up CL will use StartTimeFetch() to start an on-demand time
fetch when a certificate date error is encountered and delay the
interstitial (up to a maximum timeout) until the fetch completes.
On-demand time queries are gated behind a Finch experiment param so that
the on-demand fetch behavior can be controlled dynamically.
This is a series of patches to add on-demand time fetches when handling
cert date invalid errors.
CL #1: https://codereview.chromium.org/2447183002/
CL #2: https://codereview.chromium.org/2453523002/ <== this one
CL #3: https://codereview.chromium.org/2449193002/
BUG=589700
Committed: https://crrev.com/7f9d03bdd801f303ae6e5987fd054bde02da779d
Cr-Commit-Position: refs/heads/master@{#428537}
Patch Set 1 #
Total comments: 9
Patch Set 2 : meacer comments #
Total comments: 2
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 26 (12 generated)
|