Name Description Size
AppCacheStorage.cpp disk 5472
AppCacheStorage.h 816
CacheEntry.cpp 56146
CacheEntry.h 20672
CacheFile.cpp 75110
CacheFile.h 95e7f284-84ba-48f9-b1fc-3a7336b4c33c 9749
CacheFileChunk.cpp 23446
CacheFileChunk.h baf16149-2ab5-499c-a9c2-5904eb95c288 7883
CacheFileContextEvictor.cpp 21238
CacheFileContextEvictor.h 3701
CacheFileIOManager.cpp 120698
CacheFileIOManager.h 18550
CacheFileInputStream.cpp 19068
CacheFileInputStream.h 2458
CacheFileMetadata.cpp This is a helper class 30225
CacheFileMetadata.h a9e36125-3f01-4020-9540-9dafa8d31ba7 8170
CacheFileOutputStream.cpp 12999
CacheFileOutputStream.h 2099
CacheFileUtils.cpp A simple recursive descent parser for the mapping key. 18071
CacheFileUtils.h 6531
CacheHashUtils.cpp CacheHash::Hash(const char * key, uint32_t initval) See for more information about this hash function. This algorithm is used to check the data integrity. 5029
CacheHashUtils.h 1748
CacheIOThread.cpp Helper class encapsulating platform-specific code to cancel any pending IO operation taking too long. Solely used during shutdown to prevent any IO shutdown hangs. Mainly designed for using Win32 CancelSynchronousIo function. 17748
CacheIOThread.h Callable only on this thread, checks if there is an event waiting in the event queue with a higher execution priority. If so, the result is true and the current event handler should break it's work and return from Run() method immediately. The event handler will be rerun again when all more priority events are processed. Events pending after this handler (i.e. the one that called YieldAndRerun()) will not execute sooner then this handler is executed w/o a call to YieldAndRerun(). 4751
CacheIndex.cpp This helper class is responsible for keeping CacheIndex::mIndexStats and CacheIndex::mFrecencyArray up to date. 109474
CacheIndex.h 1000 0000 0000 0000 0000 0000 0000 0000 : initialized 0100 0000 0000 0000 0000 0000 0000 0000 : anonymous 0010 0000 0000 0000 0000 0000 0000 0000 : removed 0001 0000 0000 0000 0000 0000 0000 0000 : dirty 0000 1000 0000 0000 0000 0000 0000 0000 : fresh 0000 0100 0000 0000 0000 0000 0000 0000 : pinned 0000 0010 0000 0000 0000 0000 0000 0000 : has cached alt data 0000 0001 0000 0000 0000 0000 0000 0000 : reserved 0000 0000 1111 1111 1111 1111 1111 1111 : file size (in kB) 46619
CacheIndexContextIterator.cpp 1128
CacheIndexContextIterator.h 861
CacheIndexIterator.cpp 2669
CacheIndexIterator.h 1521
CacheLog.cpp 635
CacheLog.h 543
CacheObserver.cpp 7232
CacheObserver.h 3492
CacheStorage.cpp 7816
CacheStorage.h 1993
CacheStorageService.cpp Keeps tables of entries. There is one entries table for each distinct load context type. The distinction is based on following load context info states: <isPrivate|isAnon|inIsolatedMozBrowser> which builds a mapping key. Thread-safe to access, protected by the service mutex. 72895
CacheStorageService.h Registers the entry in management ordered arrays, a mechanism helping with weighted purge of entries. Management arrays keep hard reference to the entry. Entry is responsible to remove it self or the service is responsible to remove the entry when it's no longer needed. 14426
OldWrappers.cpp 31279
OldWrappers.h 9033 1454
nsICacheEntry.idl Content type that is used internally to check whether the value parsed from disk is within allowed limits. Don't pass CONTENT_TYPE_LAST to setContentType method. 12912
nsICacheEntryDoomCallback.idl Callback invoked after an entry or entries has/have been doomed from the cache. 496
nsICacheEntryOpenCallback.idl State of the entry determined by onCacheEntryCheck. ENTRY_WANTED - the consumer is interested in the entry, we will pass it. RECHECK_AFTER_WRITE_FINISHED - the consumer cannot use the entry while data is still being written and wants to check it again after the current write is finished. This actually prevents concurrent read/write and is used with non-resumable HTTP responses. ENTRY_NEEDS_REVALIDATION - entry needs to be revalidated first with origin server, this means the loading channel will decide whether to use the entry content as is after it gets a positive response from the server about validity of the content ; when a new content needs to be loaded from the server, the loading channel opens a new entry with OPEN_TRUNCATE flag which dooms the one this check has been made for. ENTRY_NOT_WANTED - the consumer is not interested in the entry, we will not pass it. 4227
nsICacheStorage.idl Representation of a cache storage. There can be just-in-mem, in-mem+on-disk, in-mem+on-disk+app-cache or just a specific app-cache storage. 5311
nsICacheStorageService.idl Provides access to particual cache storages of the network URI cache. 5216
nsICacheStorageVisitor.idl / void onCacheStorageInfo(in uint32_t aEntryCount, in uint64_t aConsumption, in uint64_t aCapacity, in nsIFile aDiskDirectory); /** 1077
nsICacheTesting.idl This is an internal interface used only for testing purposes. THIS IS NOT AN API TO BE USED BY EXTENSIONS! ONLY USED BY MOZILLA TESTS. 645