storage: clean up cache storage initialization
Instead of going ui -> io thread -> cache storage task runner, instead have the ui just post two tasks. This should cut down on any potential races on startup. This is a followup to comments left on: https://chromium-review.googlesource.com/c/chromium/src/+/1907095/4#message-d81d6b0b2d2ab774ba9aeff7674e1c4b842fe342 Bug: 1022104 Change-Id: Icdfd30c36969795ba3625179137360258171b170 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931580 Commit-Queue: enne <enne@chromium.org> Reviewed-by:Ben Kelly <wanderview@chromium.org> Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#718823}
Showing
Please register or sign in to comment