gecko-dev/netwerk/cache
Nicholas Nethercote 3e439bb4f8 Bug 1376638 - Minimize uses of prmem.h. r=glandium.
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)

This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.

--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
..
moz.build Bug 1335181 - add BUG_COMPONENT to netwerk/* and dom/network/* files. r=mcmanus 2017-02-02 06:33:47 -05:00
nsApplicationCache.h
nsApplicationCacheService.cpp
nsApplicationCacheService.h
nsCache.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
nsCache.h
nsCacheDevice.h
nsCacheEntry.cpp Bug 1365101 - Convert NS_GetCurrentThread uses in netwerk/ (r=meyhemer) 2017-06-12 20:21:43 -07:00
nsCacheEntry.h Bug 1365101 - Convert NS_GetCurrentThread uses in netwerk/ (r=meyhemer) 2017-06-12 20:21:43 -07:00
nsCacheEntryDescriptor.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsCacheEntryDescriptor.h
nsCacheMetaData.cpp
nsCacheMetaData.h
nsCacheRequest.h Bug 1365101 - Convert NS_GetCurrentThread uses in netwerk/ (r=meyhemer) 2017-06-12 20:21:43 -07:00
nsCacheService.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsCacheService.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsCacheSession.cpp
nsCacheSession.h
nsCacheUtils.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsCacheUtils.h
nsDeleteDir.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsDeleteDir.h
nsDiskCache.h
nsDiskCacheBinding.cpp
nsDiskCacheBinding.h
nsDiskCacheBlockFile.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
nsDiskCacheBlockFile.h
nsDiskCacheDevice.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsDiskCacheDevice.h
nsDiskCacheDeviceSQL.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsDiskCacheDeviceSQL.h Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
nsDiskCacheEntry.cpp
nsDiskCacheEntry.h
nsDiskCacheMap.cpp Bug 1376638 - Minimize uses of prmem.h. r=glandium. 2017-06-30 19:05:41 -07:00
nsDiskCacheMap.h
nsDiskCacheStreams.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
nsDiskCacheStreams.h
nsICache.idl
nsICacheEntryDescriptor.idl
nsICacheListener.idl
nsICacheService.idl
nsICacheSession.idl
nsICacheVisitor.idl
nsMemoryCacheDevice.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
nsMemoryCacheDevice.h