[go: nahoru, domu]

[Previews] Persist the last time a hints fetch was attempted.

This change stores the last time a hints fetch was attempted in the
pref service to persist between application restarts. This will limit
the HintsFetcher from sending requests too frequently to the remote
optimization guide if a failure or crash occurs.


Bug: 932707
Change-Id: Iea5fde783f51758ba7e4491d7cbda12991455c37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678227
Reviewed-by: Doug Arnett <dougarnett@chromium.org>
Reviewed-by: Robert Ogden <robertogden@chromium.org>
Commit-Queue: Michael Crouse <mcrouse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672715}
5 files changed