chrome://sync-internals sometimes shows "Next Token Request" time in the past |
||
Issue descriptionWe've had a bunch of reports recently where the "Next Token Request" time shown on chrome://sync-internals is actually in the past. This probably means that there are some cases where SyncAuthManager doesn't clear this time if a scheduled request gets either executed or canceled.
,
Sep 28
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/45c596b9e361b76a2712fd21bcd08c48654cd968 commit 45c596b9e361b76a2712fd21bcd08c48654cd968 Author: Marc Treib <treib@chromium.org> Date: Fri Sep 28 14:52:42 2018 SyncAuthManager: compute next_token_request_time on demand next_token_request_time is always supposed to be equal to the scheduled run time of request_access_token_retry_timer_. Instead of keeping this redundant state (and risk it getting out of sync), let's just compute next_token_request_time when we need it. Bug: 889859 Change-Id: I2b47d5dd78ef55bbfe1c0b43657cf9125e3f4586 Reviewed-on: https://chromium-review.googlesource.com/1250927 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#595090} [modify] https://crrev.com/45c596b9e361b76a2712fd21bcd08c48654cd968/components/browser_sync/sync_auth_manager.cc [modify] https://crrev.com/45c596b9e361b76a2712fd21bcd08c48654cd968/components/browser_sync/sync_auth_manager.h
,
Sep 28
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Sep 27