• Francois Doray's avatar
    Use USER_BLOCKING priority in SQLitePersistentCookieStore. · 7b910c70
    Francois Doray authored
    We have verified that tasks posted by SQLitePersistentCookieStore are
    on the critical path of a page load. According to the documentation in
    task_traits.h, being on the critical path of a page load requires
    USER_BLOCKING priority.
    
    We keep this as an experiment because we can to assess the impact of
    this change when the WindowsThreadModeBackground feature is enabled.
    
    Bug: 872820, 878222
    Change-Id: Iec368de8f59b34703688d8f8811aedbeddc50a8d
    Reviewed-on: https://chromium-review.googlesource.com/c/1303039Reviewed-by: default avatarVictor Costan <pwnall@chromium.org>
    Commit-Queue: Victor Costan <pwnall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#603308}
    7b910c70
sqlite_persistent_cookie_store.cc 63.8 KB