Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.

This commit is contained in:
Nicholas Nethercote
2013-08-27 16:24:51 -07:00
parent d7f047fa3f
commit d7fc3db766
67 changed files with 855 additions and 1295 deletions

View File

@@ -53,11 +53,11 @@
namespace mozilla {
namespace scache {
class StartupCacheMappingReporter MOZ_FINAL : public MemoryReporterBase
class StartupCacheMappingReporter MOZ_FINAL : public MemoryUniReporter
{
public:
StartupCacheMappingReporter()
: MemoryReporterBase("explicit/startup-cache/mapping",
: MemoryUniReporter("explicit/startup-cache/mapping",
KIND_NONHEAP, UNITS_BYTES,
"Memory used to hold the mapping of the startup cache from file. This memory "
"is likely to be swapped out shortly after start-up.")
@@ -71,11 +71,11 @@ private:
}
};
class StartupCacheDataReporter MOZ_FINAL : public MemoryReporterBase
class StartupCacheDataReporter MOZ_FINAL : public MemoryUniReporter
{
public:
StartupCacheDataReporter()
: MemoryReporterBase("explicit/startup-cache/data", KIND_HEAP, UNITS_BYTES,
: MemoryUniReporter("explicit/startup-cache/data", KIND_HEAP, UNITS_BYTES,
"Memory used by the startup cache for things other than the file mapping.")
{}
private: