Descriptionmemory-infra: add ProcessType and expose data in RequestGlobalDump()
This CL addresses two distinct problems:
1) Adds a ProcessType in the per-process struct returned by
ProcessMemoryDump. This will be required in the next CLs for
UMA / UKM aggregation.
2) Adds a GlobalMemoryDump return object to the RequestGlobalMemoryDump
service API. This object will contain the data that UMA/UKM need to
upload.
As a bonus this CL removes the mojo type
memory_instrumentation.mojom.MemoryDumpCallbackResult.
That callback was never meant to be exposed across a service boundary.
It is only used between base::MemoryDumpManager and the client library,
which are by design both hosted in the same process.
BUG=703184
Review-Url: https://codereview.chromium.org/2871223002
Cr-Commit-Position: refs/heads/master@{#471415}
Committed: https://chromium.googlesource.com/chromium/src/+/5a7bd66da934d6decc3d60a8c0640a990fc0d0a8
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : add comments and propagate extra_processes_dump #
Total comments: 3
Patch Set 4 : fix data structures #
Total comments: 11
Patch Set 5 : review comments #
Total comments: 2
Messages
Total messages: 45 (26 generated)
|