зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
mdns | ||
ChildDNSService.cpp | ||
ChildDNSService.h | ||
DNS.cpp | ||
DNS.h | ||
DNSListenerProxy.cpp | ||
DNSListenerProxy.h | ||
DNSRequestChild.cpp | ||
DNSRequestChild.h | ||
DNSRequestParent.cpp | ||
DNSRequestParent.h | ||
GetAddrInfo.cpp | ||
GetAddrInfo.h | ||
PDNSParams.h | ||
PDNSRequest.ipdl | ||
PDNSRequestParams.ipdlh | ||
effective_tld_names.dat | ||
moz.build | ||
nameprep.c | ||
nameprep_template.c | ||
nameprepdata.c | ||
nsDNSService2.cpp | ||
nsDNSService2.h | ||
nsEffectiveTLDService.cpp | ||
nsEffectiveTLDService.h | ||
nsHostResolver.cpp | ||
nsHostResolver.h | ||
nsIDNKitInterface.h | ||
nsIDNSListener.idl | ||
nsIDNSRecord.idl | ||
nsIDNSService.idl | ||
nsIDNService.cpp | ||
nsIDNService.h | ||
nsIEffectiveTLDService.idl | ||
nsIIDNService.idl | ||
nsPIDNSService.idl | ||
prepare_tlds.py | ||
punycode.c | ||
punycode.h |