nsIDumpGCAndCCLogsCallback

Callback interface for |dumpGCAndCCLogsToFile|, below. Note that
these method calls can occur before |dumpGCAndCCLogsToFile|
returns.

Methods

onDump(aGCLog, aCCLog, aIsParent)

Called whenever a process has successfully finished dumping its GC/CC logs.
Incomplete dumps (e.g., if the child crashes or is killed due to memory
exhaustion) are not reported.

Parameters

aGCLog The file that the GC log was written to.
aCCLog The file that the CC log was written to.
aIsParent indicates whether this log file pair is from the parent process.

onFinish()

Called when GC/CC logging has finished, after all calls to onDump .