mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
c2306345d5
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 |
||
---|---|---|
.. | ||
moz.build | ||
nsApplicationCache.h | ||
nsApplicationCacheService.cpp | ||
nsApplicationCacheService.h | ||
nsCache.cpp | ||
nsCache.h | ||
nsCacheDevice.h | ||
nsCacheEntry.cpp | ||
nsCacheEntry.h | ||
nsCacheEntryDescriptor.cpp | ||
nsCacheEntryDescriptor.h | ||
nsCacheMetaData.cpp | ||
nsCacheMetaData.h | ||
nsCacheRequest.h | ||
nsCacheService.cpp | ||
nsCacheService.h | ||
nsCacheSession.cpp | ||
nsCacheSession.h | ||
nsCacheUtils.cpp | ||
nsCacheUtils.h | ||
nsDeleteDir.cpp | ||
nsDeleteDir.h | ||
nsDiskCache.h | ||
nsDiskCacheBinding.cpp | ||
nsDiskCacheBinding.h | ||
nsDiskCacheBlockFile.cpp | ||
nsDiskCacheBlockFile.h | ||
nsDiskCacheDevice.cpp | ||
nsDiskCacheDevice.h | ||
nsDiskCacheDeviceSQL.cpp | ||
nsDiskCacheDeviceSQL.h | ||
nsDiskCacheEntry.cpp | ||
nsDiskCacheEntry.h | ||
nsDiskCacheMap.cpp | ||
nsDiskCacheMap.h | ||
nsDiskCacheStreams.cpp | ||
nsDiskCacheStreams.h | ||
nsICache.idl | ||
nsICacheEntryDescriptor.idl | ||
nsICacheListener.idl | ||
nsICacheService.idl | ||
nsICacheSession.idl | ||
nsICacheVisitor.idl | ||
nsMemoryCacheDevice.cpp | ||
nsMemoryCacheDevice.h |