DescriptionRefactoring: Move functions from WebMemoryDumpProviderAdapter to PartitionAllocMemoryDumpProvider
Before this CL, allocation hook registerings for heap profiling existed
at child/content/WebMemoryDumpProviderAdapter as global functions for
only one allocater (PartitionAlloc). It is because platform directory
couldn't depend on base/trace_event and those logic needed to be in
Chromium side.
Now platform directory can refer base/trace_events, we can move those
functions from Chromium side to Blink side so that we can easily add
heap profiling for other allocaters like Oilpan.
Next I'm going to remove WebMemoryDumpProviderAdapter which was needed
when platform couldn't depend on base/trace_event.
BUG=548254
TEST=n/a
Committed: https://crrev.com/7e94fbc7dd28ce78aa12234b93bc52052f243448
Cr-Commit-Position: refs/heads/master@{#373204}
Patch Set 1 #Patch Set 2 : #
Total comments: 5
Patch Set 3 : haraken's review #
Total comments: 5
Patch Set 4 : primiano's review #
Total comments: 2
Patch Set 5 : primiano's review #Depends on Patchset: Messages
Total messages: 25 (8 generated)
|