[NTP::Push] Periodically check token validity and resubscribe if not.
GCM token may become invalid (it is stored on disk and may be corrupted). Therefore, this CL adds a periodical check (at least 24 hours, without waking up) of the current token validity. If it is invalid, then a new token is retrieved and used to resubscribe to our server. Bug: 742240 Change-Id: I27d873049c6dbc7ff8c3ad0471cf20ca7f754d53 Reviewed-on: https://chromium-review.googlesource.com/574232Reviewed-by:Bernhard Bauer <bauerb@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Commit-Queue: vitaliii <vitaliii@chromium.org> Cr-Commit-Position: refs/heads/master@{#491956}
Showing
This diff is collapsed.
Please register or sign in to comment