| 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 a8b3f423cad37f4aaaac3b9f395e4f20b509a65a..fd426086434fb4abfe7267d7843e26a0dbeda517 100644
|
| --- a/base/trace_event/memory_dump_request_args.h
|
| +++ b/base/trace_event/memory_dump_request_args.h
|
| @@ -20,9 +20,9 @@ namespace base {
|
| namespace trace_event {
|
|
|
| // Captures the reason why a memory dump is being requested. This is to allow
|
| -// selective enabling of dumps, filtering and post-processing. Important: this
|
| -// must be kept consistent with
|
| -// services/resource_coordinator/public/cpp/memory/memory_infra_traits.cc.
|
| +// selective enabling of dumps, filtering and post-processing. Keep this
|
| +// consistent with memory_instrumentation.mojo and
|
| +// memory_instrumentation_struct_traits.{h,cc}
|
| enum class MemoryDumpType {
|
| PERIODIC_INTERVAL, // Dumping memory at periodic intervals.
|
| EXPLICITLY_TRIGGERED, // Non maskable dump request.
|
| @@ -31,8 +31,8 @@ enum class MemoryDumpType {
|
| };
|
|
|
| // Tells the MemoryDumpProvider(s) how much detailed their dumps should be.
|
| -// Important: this must be kept consistent with
|
| -// services/resource_Coordinator/public/cpp/memory/memory_infra_traits.cc.
|
| +// Keep this consistent with memory_instrumentation.mojo and
|
| +// memory_instrumentation_struct_traits.{h,cc}
|
| enum class MemoryDumpLevelOfDetail : uint32_t {
|
| FIRST,
|
|
|
| @@ -55,8 +55,8 @@ enum class MemoryDumpLevelOfDetail : uint32_t {
|
| };
|
|
|
| // Initial request arguments for a global memory dump. (see
|
| -// MemoryDumpManager::RequestGlobalMemoryDump()). Important: this must be kept
|
| -// consistent with services/memory_infra/public/cpp/memory_infra_traits.cc.
|
| +// MemoryDumpManager::RequestGlobalMemoryDump()). Keep this consistent with
|
| +// memory_instrumentation.mojo and memory_instrumentation_struct_traits.{h,cc}
|
| struct BASE_EXPORT MemoryDumpRequestArgs {
|
| // Globally unique identifier. In multi-process dumps, all processes issue a
|
| // local dump with the same guid. This allows the trace importers to
|
|
|