Chromium Code Reviews
Description[tracing] Add a memory dump provider for DOM storage
This CL adds a memory dump provider for DOM storage in browser. It only
accounts for the memory usage of the buffer map and session storage
database, not the local backing databases. This will be done in next CL.
The areas can be accessed only on DOMStorageTaskRunner's
PRIMARY_SEQUENCE. Since memory infra supports collection of dumps from
SequencedTaskRunner, a SequencedTaskRunner is extracted from
DOMStorageTaskRunner's worker pool to pass to memory-infra.
BUG=605785
Committed: https://crrev.com/d0fd26c479bfa0b52f3764ee8925a1c82bf305ca
Cr-Commit-Position: refs/heads/master@{#391455}
Patch Set 1 : #Patch Set 2 : nits. #
Total comments: 4
Patch Set 3 : fix loop. #
Total comments: 2
Patch Set 4 : Fix test builds. #
Total comments: 4
Patch Set 5 : context_impl as mdp and merge cls. #Patch Set 6 : nits. #
Total comments: 3
Patch Set 7 : add dchecks. #Patch Set 8 : Fix unittests. #
Total comments: 4
Patch Set 9 : Fix dcheck and return value. #Dependent Patchsets: Messages
Total messages: 40 (17 generated)
|