#include "services/resource_coordinator/memory_instrumentation/queued_request.h"
namespace memory_instrumentation {
QueuedRequest::Args::Args(MemoryDumpType dump_type,
MemoryDumpLevelOfDetail level_of_detail,
MemoryDumpDeterminism determinism,
const std::vector<std::string>& allocator_dump_names,
bool add_to_trace,
base::ProcessId pid,
bool memory_footprint_only)
: … { … }
QueuedRequest::Args::Args(const Args& args) = default;
QueuedRequest::Args::~Args() = default;
QueuedRequest::PendingResponse::PendingResponse(base::ProcessId process_id,
Type type)
: … { … }
bool QueuedRequest::PendingResponse::operator<(
const PendingResponse& other) const { … }
QueuedRequest::Response::Response() { … }
QueuedRequest::Response::Response(Response&& other) = default;
QueuedRequest::Response::~Response() = default;
QueuedRequest::QueuedRequest(const Args& args,
uint64_t dump_guid,
RequestGlobalMemoryDumpInternalCallback callback)
: … { … }
QueuedRequest::~QueuedRequest() = default;
base::trace_event::MemoryDumpRequestArgs QueuedRequest::GetRequestArgs() { … }
QueuedVmRegionRequest::Response::Response() = default;
QueuedVmRegionRequest::Response::~Response() = default;
QueuedVmRegionRequest::QueuedVmRegionRequest(
uint64_t dump_guid,
mojom::HeapProfilerHelper::GetVmRegionsForHeapProfilerCallback callback)
: … { … }
QueuedVmRegionRequest::~QueuedVmRegionRequest() = default;
}