
Move the implementation of GetBytesInUse to StorageFrontend and call it from storage_api.cc. This is a part of larger work to move the extension storage implementation to StorageFrontend, allowing storage to be managed from outside of extension API calls and therefore to expose it in other contexts (like CDP). Bug: 40963428 Change-Id: If214d93911dc572b7721f5dffaa57080902b8ae6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5463137 Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Commit-Queue: Oliver Dunk <oliverdunk@chromium.org> Reviewed-by: Emilia Paz <emiliapaz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1301233}
This will become a reusable extensions module. It implements the core parts of Chrome's extension system, and can be used with any host of the content module.
Some extensions code that is not Chrome-specific still lives in //chrome/browser/extensions and will be moved here.
Technical Documentation: