[tracing] Support BACKGROUND mode in MemoryCache dump provider
This CL adds support for BACKGROUND mode in MemoryCache dump provider, where it just adds the total sizes of resources (given by encodedSize of each resource). This CL also fixes the image resources reporting which had a shared buffer that was not reported in the ImageResource subclass. It also fixes the SharedBuffer::onMemoryDump to dump when both shared buffer and segments are used together. BUG=629925 Review-Url: https://codereview.chromium.org/2337733002 Cr-Commit-Position: refs/heads/master@{#418957}
Showing
Please register or sign in to comment