Cache Storage Permissions on ContentSettingsClientImpl
The result of the IPC call GetContentSettingsManager::AllowStorageAccess was cached to prevent further redundant IPC calls. But this was only done for local and session storage permissions (via the AllowStorage() method). This change consolidates the caching logic to be used for all storage types. We also remove the AllowStorage() method and integrate it into the general purpose AllowStorageAccess() methods, adding new storage types for local and session storage. IDBFactory::CachedAllowIndexedDB() is also removed as it is now redundant. Change-Id: I518cf05bc1e12feec25c96aa5c1cd2cefebd1a29 Bug: 1122633 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401847Reviewed-by:Mike West <mkwst@chromium.org> Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:
Christian Dullweber <dullweber@chromium.org> Reviewed-by:
enne <enne@chromium.org> Commit-Queue: Shubham Aggarwal <shuagga@microsoft.com> Cr-Commit-Position: refs/heads/master@{#809892}
Showing
Please register or sign in to comment