mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 858929 Allow external components to register memory reporters r=njn
This commit is contained in:
parent
60506ac162
commit
0874b40cb9
@ -355,11 +355,11 @@ interface nsIMemoryReporterManager : nsISupports
|
|||||||
// that individual reporters should be referenced with |nsIMemoryReporter *|
|
// that individual reporters should be referenced with |nsIMemoryReporter *|
|
||||||
// instead of nsCOMPtr<nsIMemoryReporter>.
|
// instead of nsCOMPtr<nsIMemoryReporter>.
|
||||||
|
|
||||||
nsresult NS_RegisterMemoryReporter(nsIMemoryReporter *reporter);
|
XPCOM_API(nsresult) NS_RegisterMemoryReporter(nsIMemoryReporter *reporter);
|
||||||
nsresult NS_RegisterMemoryMultiReporter(nsIMemoryMultiReporter *reporter);
|
XPCOM_API(nsresult) NS_RegisterMemoryMultiReporter(nsIMemoryMultiReporter *reporter);
|
||||||
|
|
||||||
nsresult NS_UnregisterMemoryReporter(nsIMemoryReporter *reporter);
|
XPCOM_API(nsresult) NS_UnregisterMemoryReporter(nsIMemoryReporter *reporter);
|
||||||
nsresult NS_UnregisterMemoryMultiReporter(nsIMemoryMultiReporter *reporter);
|
XPCOM_API(nsresult) NS_UnregisterMemoryMultiReporter(nsIMemoryMultiReporter *reporter);
|
||||||
|
|
||||||
#if defined(MOZ_DMD)
|
#if defined(MOZ_DMD)
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
Loading…
Reference in New Issue
Block a user