• Brandon Maslen's avatar
    Add GetStoragePartitionCount to BrowserContext · dd4ba9e0
    Brandon Maslen authored
    During another change/need to iterate over all storage
    partitions it was noticed that other places in Chromium
    have the same requirement. This change exposts a
    GetStoragePartitionCount method off of
    
    having to iterate over the collection of partitions to
    achieve the same result. In addition the existing call
    site of this method has been updated to call the
    BrowserContext version.
    
    content: :BrowserContext in order to avoid other classes
    Change-Id: Ie60b726841f6955f7df5128cbe89955ea0e3a98d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057808
    Commit-Queue: Brandon Maslen <brandm@microsoft.com>
    Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#742810}
    dd4ba9e0
browser_context.h 16 KB