Name Description Size Coverage
Action.cpp 839 -
Action.h 3737 -
ActorChild.cpp 1564 -
ActorChild.h no-op 1713 -
ActorUtils.h 2953 -
AutoUtils.cpp 17289 -
AutoUtils.h 3038 -
BoundStorageKey.cpp 9550 -
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. 7734 -
BoundStorageKeyCache.cpp 12286 -
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 6214 -
BoundStorageKeyChild.cpp 2750 -
BoundStorageKeyChild.h 2522 -
BoundStorageKeyParent.cpp 1028 -
BoundStorageKeyParent.h 1790 -
Cache.cpp 19191 -
Cache.h 4650 -
CacheChild.cpp 3883 -
CacheChild.h 2775 -
CacheCipherKeyManager.h 827 -
CacheCommon.cpp 352 -
CacheCommon.h 495 -
CacheOpChild.cpp 12673 -
CacheOpChild.h Generic method to handle all response types, formats responses before resolving for the underlying promises 3951 -
CacheOpParent.cpp 10869 -
CacheOpParent.h 2512 -
CacheParent.cpp 2184 -
CacheParent.h 1424 -
CacheStorage.cpp 19939 -
CacheStorage.h 4049 -
CacheStorageChild.cpp 3352 -
CacheStorageChild.h 2860 -
CacheStorageParent.cpp 4407 -
CacheStorageParent.h 2013 -
CacheStreamControlChild.cpp aAllowLazy 5161 -
CacheStreamControlChild.h 2031 -
CacheStreamControlParent.cpp aAllowLazy 5509 -
CacheStreamControlParent.h 2591 -
CacheTypes.ipdlh 4576 -
CacheWorkerRef.cpp 4073 -
CacheWorkerRef.h 1650 -
Connection.cpp 8428 -
Connection.h 874 -
Context.cpp aMaybeCipherKey 39422 -
Context.h 8417 -
DBAction.cpp 8839 -
DBAction.h 2532 -
DBSchema.cpp 126796 -
DBSchema.h 3870 -
FileUtils.cpp 29259 -
FileUtils.h This function is used to check if the directory padding file is existed. 5877 -
FileUtilsImpl.h aTrackQuota 3683 -
IPCUtils.h 1092 -
Manager.cpp Note: The aCommitHook argument will be invoked while a lock is held. Callers should be careful not to pass a hook that might lock on something else and trigger a deadlock. 77853 -
Manager.h 10508 -
ManagerId.cpp 1964 -
ManagerId.h 1517 -
moz.build 2572 -
NotifyUtils.cpp 687 -
NotifyUtils.h 535 -
PBoundStorageKey.ipdl 833 -
PCache.ipdl 1005 -
PCacheOp.ipdl 674 -
PCacheStorage.ipdl 1037 -
PCacheStreamControl.ipdl 1026 -
PrincipalVerifier.cpp 5740 -
PrincipalVerifier.h 2366 -
QuotaClient.cpp aMustRestore 19654 -
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. 1941 -
QuotaClientImpl.h 5375 -
ReadStream.cpp 17887 -
ReadStream.h 3373 -
SavedTypes.h 1349 -
StreamControl.cpp 2296 -
StreamControl.h 2545 -
StreamList.cpp 6256 -
StreamList.h 2051 -
test -
Types.h 2423 -
TypeUtils.cpp 16197 -
TypeUtils.h 5542 -