• Patti's avatar
    Settings: All Sites now shows (and sorts by) local storage per origins. · ac6abd59
    Patti authored
    A primary use case for the All sites page should be to view the sites
    that are using the most disk space on the user’s device. Currently
    grouped sites show the number of cookies. This patch adds support for
    showing the amount of local storage used for each origin.
    
    Sorting by data usage in all sites will now sort by local storage, using
    the number of cookies as a tie breaker, i.e. sites with any amount of
    local storage will be ordered before sites with no local storage and
    cookies.
    
    Cq-Include-Trybots: luci.chromium.try:closure_compilation
    Change-Id: I3816279f9795fbaa59d67279548a1deba097f852
    Bug: 835712
    Reviewed-on: https://chromium-review.googlesource.com/1148169
    Commit-Queue: Patti <patricialor@chromium.org>
    Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#579328}
    ac6abd59
site_entry_tests.js 9.9 KB