| Index: base/trace_event/memory_dump_request_args.h
|
| diff --git a/base/trace_event/memory_dump_request_args.h b/base/trace_event/memory_dump_request_args.h
|
| index f78e31ce40ecedba0d90759f9c74a179aef37fa0..74ec5dc18533c446e6fbd96672b20f0672de63a2 100644
|
| --- a/base/trace_event/memory_dump_request_args.h
|
| +++ b/base/trace_event/memory_dump_request_args.h
|
| @@ -60,6 +60,13 @@ struct BASE_EXPORT MemoryDumpRequestArgs {
|
| MemoryDumpLevelOfDetail level_of_detail;
|
| };
|
|
|
| +// Args for ProcessMemoryDump and passed to OnMemoryDump calls for memory dump
|
| +// providers. Dump providers are expected to read the args for creating dumps.
|
| +struct MemoryDumpArgs {
|
| + // Specifies how detailed the dumps should be.
|
| + MemoryDumpLevelOfDetail level_of_detail;
|
| +};
|
| +
|
| using MemoryDumpCallback = Callback<void(uint64_t dump_guid, bool success)>;
|
|
|
| BASE_EXPORT const char* MemoryDumpTypeToString(const MemoryDumpType& dump_type);
|
|
|