Implement this interface to handle callbacks from nsIMemoryMultiReporter instances.
1.0
28
Introduced
Gecko 7.0
Inherits from:
nsISupports
Last changed in Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4)Method overview
void callback(in ACString process, in AUTF8String path, in PRInt32 kind, in PRInt32 units, in PRInt64 amount, in AUTF8String description, in nsISupports closure); |
Methods
callback()
Called to provide information from a multi-reporter. Implement this method to handle the report information.
void callback( in ACString process, in AUTF8String path, in PRInt32 kind, in PRInt32 units, in PRInt64 amount, in AUTF8String description, in nsISupports closure );
Parameters
-
process
-
The value of the
process
attribute for the memory reporter. -
path
-
The value of the
path
attribute. -
kind
-
The value of the
kind
attribute. -
units
-
The value of the
units
attribute. -
amount
-
The value of the
amount
attribute. -
description
-
The value of the
description
attribute. -
closure
-
An
nsISupports
object providing any additional data the callback might need; you provide this when you callnsIMemoryMultiReporter.collectReports()
. It will benull
if no additional data was provided.