Use base::Timer in storage::FileSystemUsageCache.
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:Taiju Tsuiki <tzik@chromium.org> Cr-Commit-Position: refs/heads/master@{#551525}
Showing
Please register or sign in to comment