• Stuart Langley's avatar
    Introduce a timer to evict cached AboutResource data. · 70fd2c3a
    Stuart Langley authored
    AboutResource has an internal caching mechanism, that is only refreshed when
    UpdateAboutResource is called. With the introduction of team drives
    UpdateAboutResource is no longer called to get the largest change id, which
    means that the cached version can become stale. Here we introduce a timer that
    will periodically evict that cached version, so that calls to GetAboutResource
    will get fresh data from the server.
    
    Bug: 874551
    Change-Id: Ib0ed943b2abec95c6d32be17228dd429ffedaea8
    Reviewed-on: https://chromium-review.googlesource.com/1189684
    Commit-Queue: Stuart Langley <slangley@chromium.org>
    Reviewed-by: default avatarSam McNally <sammc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#586191}
    70fd2c3a
about_resource_loader.h 3.1 KB