Name Description Size
AppCacheStorage.cpp disk 5287
AppCacheStorage.h 816
CacheEntry.cpp 56208
CacheEntry.h 20837
CacheFile.cpp 77465
CacheFile.h 95e7f284-84ba-48f9-b1fc-3a7336b4c33c 9767
CacheFileChunk.cpp 23478
CacheFileChunk.h baf16149-2ab5-499c-a9c2-5904eb95c288 7932
CacheFileContextEvictor.cpp 21353
CacheFileContextEvictor.h 3710
CacheFileInputStream.cpp 19048
CacheFileInputStream.h 2485
CacheFileIOManager.cpp 122678
CacheFileIOManager.h 18574
CacheFileMetadata.cpp This is a helper class 31194
CacheFileMetadata.h a9e36125-3f01-4020-9540-9dafa8d31ba7 8083
CacheFileOutputStream.cpp 12997
CacheFileOutputStream.h 2122
CacheFileUtils.cpp A simple recursive descent parser for the mapping key. 19979
CacheFileUtils.h 7616
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
CacheIndex.cpp This helper class is responsible for keeping CacheIndex::mIndexStats and CacheIndex::mFrecencyArray up to date. 115060
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) 45534
CacheIndexContextIterator.cpp 1128
CacheIndexContextIterator.h 861
CacheIndexIterator.cpp 2707
CacheIndexIterator.h 1544
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. 17979
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(). 4774
CacheLog.cpp 635
CacheLog.h 543
CacheObserver.cpp 12504
CacheObserver.h 4299
CacheStorage.cpp 7824
CacheStorage.h 1998
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. 70063
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. 14100 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. 13110
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. 4972
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
OldWrappers.cpp 31271
OldWrappers.h 9136