Add GetStoragePartitionCount to BrowserContext
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:Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#742810}
Showing
Please register or sign in to comment