Name Description Size Coverage CI issues
Action.cpp 648 100 %
Action.h 3643 100 %
ActorChild.cpp 1443 100 %
ActorChild.h no-op 1592 67 %
ActorUtils.h 2832 -
AutoUtils.cpp 17215 89 %
AutoUtils.h 2917 -
BoundStorageKey.cpp 9611 0 %
BoundStorageKey.h BoundStorageKey ipdl would be used to work with all storage APIs between child and parent process. BoundStorageKey is a generic base class and represents all respective derived storage classes. BoundStorageKeyCacheStorage below is one such class which deals with cachestorage and like this, there could be more in the future like BoundStorageKeyIDB for IndexedDB, etc. TODO: it might be worth moving BoundStorageKey protocol definition, implementation into separate directory while more derived implementations could be under their respective storage directories like dom/cache for BoundStorageKeyCacheStorage. 7613 0 %
BoundStorageKeyCache.cpp 12233 0 %
BoundStorageKeyCache.h This is similar to Cache class as BoundStorageKeyCacheStorage is to CacheStorage i.e. 1. Exposes and implements Cache APIs but uses MozPromise as it's return value rather than JS Promise 2. IPC communication can be retargetted to any event target as it's protocol gets created on a top-level actor 6093 0 %
BoundStorageKeyChild.cpp 2629 0 %
BoundStorageKeyChild.h 2401 0 %
BoundStorageKeyParent.cpp 1273 0 %
BoundStorageKeyParent.h 1186 0 %
Cache.cpp 18941 90 %
Cache.h 4525 50 %
CacheChild.cpp 3762 88 %
CacheChild.h 2654 89 %
CacheCipherKeyManager.h 706 -
CacheCommon.cpp 231 -
CacheCommon.h 374 -
CacheOpChild.cpp implicitly converts to false for boolean types 12552 76 %
CacheOpChild.h Generic method to handle all response types, formats responses before resolving for the underlying promises 3830 50 %
CacheOpParent.cpp 11264 91 %
CacheOpParent.h 2391 50 %
CacheParent.cpp 2063 91 %
CacheParent.h 1303 50 %
CacheStorage.cpp 19983 82 %
CacheStorage.h 3934 50 %
CacheStorageChild.cpp 3231 80 %
CacheStorageChild.h 2739 89 %
CacheStorageParent.cpp 4286 76 %
CacheStorageParent.h 1892 50 %
CacheStreamControlChild.cpp aAllowLazy 5040 82 %
CacheStreamControlChild.h 1910 50 %
CacheStreamControlParent.cpp aAllowLazy 5596 89 %
CacheStreamControlParent.h 2515 50 %
CacheTypes.ipdlh 4656 -
CacheWorkerRef.cpp 3952 93 %
CacheWorkerRef.h 1529 -
Connection.cpp 8591 25 %
Connection.h 753 -
Context.cpp aMaybeCipherKey 39301 80 %
Context.h 8296 -
DBAction.cpp 8718 74 %
DBAction.h 2411 0 %
DBSchema.cpp 130428 99 %
DBSchema.h 3749 -
FileUtils.cpp 29124 93 %
FileUtils.h This function is used to check if the directory padding file is existed. 5756 50 %
FileUtilsImpl.h aTrackQuota 3562 74 %
IPCUtils.h 971 -
Manager.cpp 78714 89 %
Manager.h 10387 75 %
ManagerId.cpp 1843 95 %
ManagerId.h 1396 67 %
metrics.yaml 1195 -
moz.build 2606 -
NotifyUtils.cpp 566 100 %
NotifyUtils.h 414 -
PBoundStorageKey.ipdl 833 -
PCache.ipdl 1005 -
PCacheOp.ipdl 674 -
PCacheStorage.ipdl 1037 -
PCacheStreamControl.ipdl 1026 -
PrincipalVerifier.cpp 5803 87 %
PrincipalVerifier.h 2245 100 %
QuotaClient.cpp aMustRestore 20835 78 %
QuotaClient.h The following functions are used to access the directory padding file. The directory padding file lives in DOM Cache base directory (e.g. foo.com/cache/.padding). It is used to keep the current overall padding size for an origin, so that the QuotaManager doesn't need to access the database when getting quota clients' usage. For the directory padding file, it's only accessed on Quota IO thread (for getting current usage) and Cache IO threads (for tracking padding size change). Besides, the padding file is protected by a mutex lock held by CacheQuotaClient. Each padding file should only take 8 bytes (int64_t) to record the overall padding size. Besides, we use the temporary padding file to indicate if the previous action is completed successfully. If the temporary file exists, it represents that the previous action is failed and the content of padding file cannot be trusted, and we need to restore the padding file from the database. 1820 -
QuotaClientImpl.h 5254 74 %
ReadStream.cpp 17757 81 %
ReadStream.h 3252 100 %
SavedTypes.h 1228 100 %
StreamControl.cpp 2175 100 %
StreamControl.h 2424 100 %
StreamList.cpp 6204 78 %
StreamList.h 1930 100 %
<1%test -
Types.h 2302 92 %
TypeUtils.cpp 14754 91 %
TypeUtils.h 4587 100 %