gecko-dev/xpcom/build
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
..
BinaryPath.h
FileLocation.cpp
FileLocation.h
FrozenFunctions.cpp
IOInterposer.cpp
IOInterposer.h
IOInterposerPrivate.h
LateWriteChecks.cpp
LateWriteChecks.h
MainThreadIOLogger.cpp
MainThreadIOLogger.h
NSPRInterposer.cpp
NSPRInterposer.h
Omnijar.cpp Bug 1265621 - Expose outer zip readers in Omnijar::GetReader; r=froydnj 2016-04-28 16:07:02 -04:00
Omnijar.h Bug 1265621 - Expose outer zip readers in Omnijar::GetReader; r=froydnj 2016-04-28 16:07:02 -04:00
PoisonIOInterposer.h
PoisonIOInterposerBase.cpp
PoisonIOInterposerMac.cpp
PoisonIOInterposerStub.cpp
PoisonIOInterposerWin.cpp
ServiceList.h Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov 2016-08-08 20:51:39 -04:00
Services.cpp Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov 2016-08-08 20:51:39 -04:00
Services.h
XPCOM.h
XPCOMInit.cpp Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
XPCOMModule.inc Initialize nsAppShell in the GPU process. (bug 1294350 part 5, r=nfroyd) 2016-08-22 22:57:36 -07:00
XREChildData.h Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium 2016-05-15 16:35:22 +01:00
XREShellData.h Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium 2016-05-15 16:41:40 +01:00
mach_override.c
mach_override.h
moz.build Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium 2016-07-20 15:00:13 +10:00
nsWindowsDllInterceptor.h
nsXPCOM.h Initialize a subset of XPCOM in the GPU process. (bug 1294350 part 3, r=froydnj) 2016-08-22 22:57:36 -07:00
nsXPCOMCID.h
nsXPCOMCIDInternal.h
nsXPCOMPrivate.h
nsXPCOMStrings.cpp
nsXREAppData.h Bug 1286306 - Add an app info property exposing the state of the Windows dll blocklist, and test the value during browser test runs. r=bsmedberg 2016-07-27 15:20:58 -05:00
nsXULAppAPI.h Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
perfprobe.cpp
perfprobe.h
xpcom_alpha.def
xrecore.h