• Francois Doray's avatar
    Use base::Timer in storage::FileSystemUsageCache. · 2f3fbbeb
    Francois Doray authored
    Previously, storage::FileSystemUsageCache used a custom timer
    implementation (TimedTaskHelper). Crash involving this custom timer
    implementation have been reported (e.g. http://crash/e2c6ff1ef4863460).
    Therefore, we are moving all uses of TimedTaskHelper to the well
    maintained base::Timer.
    
    Note: The TaskRunner passed to the TimedTaskHelper in
    storage::FileSystemUsageCache was always the one on which the
    storage::FileSystemUsageCache was used, so there is no need to
    an explicit call to base::Timer::SetTaskRunner in this CL.
    
    Bug: 760326
    Change-Id: I4b0727e4f70c2560a2948015dd28236cd760a9f3
    Reviewed-on: https://chromium-review.googlesource.com/1012586
    Commit-Queue: François Doray <fdoray@chromium.org>
    Reviewed-by: default avatarTaiju Tsuiki <tzik@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#551525}
    2f3fbbeb
file_system_usage_cache.h 3.5 KB