• Ben Kelly's avatar
    Quota: Avoid BEST_EFFORT task priority. · 8980b4eb
    Ben Kelly authored
    In crrev.com/c/1699373 BEST_EFFORT tasks were changed to delay
    until after browser startup.  This unfortunately seems to also delay
    any storage API access that is managed by quota since quota
    initialization uses a BEST_EFFORT task.
    
    This change modifies the quota sub-system to use a USER_VISIBLE task
    so that initialize can complete prior to browser startup completing.
    This is an appropriate priority since storage APIs like cache_storage
    can block loading which is a user visible action.
    
    Bug: 1006546,1005983,1004041
    Change-Id: I7fd0659855f26d0f3c1caf0185f2e9723c55c483
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819595Reviewed-by: default avatarMarijn Kruisselbrink <mek@chromium.org>
    Commit-Queue: Ben Kelly <wanderview@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#699029}
    8980b4eb
quota_settings.cc 6.26 KB