summaryrefslogtreecommitdiffstats
path: root/netwerk/cache2/CacheObserver.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-29 22:56:15 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-29 22:56:15 +0200
commit0b16007427aac4bb94643c6ea4cc79b81010765a (patch)
treeb53266233b12724adb28213765e5abc89af8df53 /netwerk/cache2/CacheObserver.h
parent347aea437facd5324b3d8d27c587d8054e9b8b9a (diff)
downloadUXP-0b16007427aac4bb94643c6ea4cc79b81010765a.tar
UXP-0b16007427aac4bb94643c6ea4cc79b81010765a.tar.gz
UXP-0b16007427aac4bb94643c6ea4cc79b81010765a.tar.lz
UXP-0b16007427aac4bb94643c6ea4cc79b81010765a.tar.xz
UXP-0b16007427aac4bb94643c6ea4cc79b81010765a.zip
Remove telemetry to find optimal cache entry hash size
Tag #21.
Diffstat (limited to 'netwerk/cache2/CacheObserver.h')
-rw-r--r--netwerk/cache2/CacheObserver.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/netwerk/cache2/CacheObserver.h b/netwerk/cache2/CacheObserver.h
index 62e5bbc6e..ee989e4d8 100644
--- a/netwerk/cache2/CacheObserver.h
+++ b/netwerk/cache2/CacheObserver.h
@@ -64,9 +64,6 @@ class CacheObserver : public nsIObserver
static bool CacheFSReported()
{ return sCacheFSReported; }
static void SetCacheFSReported();
- static bool HashStatsReported()
- { return sHashStatsReported; }
- static void SetHashStatsReported();
static void ParentDirOverride(nsIFile ** aDir);
static bool EntryIsTooBig(int64_t aSize, bool aUsingDisk);
@@ -83,7 +80,6 @@ private:
void StoreDiskCacheCapacity();
void StoreCacheFSReported();
- void StoreHashStatsReported();
void AttachToPreferences();
static uint32_t sUseNewCache;
@@ -107,7 +103,6 @@ private:
static bool sSanitizeOnShutdown;
static bool sClearCacheOnShutdown;
static bool sCacheFSReported;
- static bool sHashStatsReported;
static Atomic<uint32_t, Relaxed> sMaxShutdownIOLag;
static Atomic<PRIntervalTime> sShutdownDemandedTime;