Name Description Size
Action.cpp 891
Action.h 3380
ActorChild.cpp 1721
ActorChild.h 980
ActorUtils.h 1587
AutoUtils.cpp 18626
AutoUtils.h 3218
Cache.cpp 18541
Cache.h 4124
CacheChild.cpp 4460
CacheChild.h 2414
CacheOpChild.cpp 7284
CacheOpChild.h 2268
CacheOpParent.cpp 10850
CacheOpParent.h 2485
CacheParent.cpp 2223
CacheParent.h 1356
CacheStorage.cpp 18660
CacheStorage.h 3682
CacheStorageChild.cpp 4032
CacheStorageChild.h 2324
CacheStorageParent.cpp 4107
CacheStorageParent.h 1801
CacheStreamControlChild.cpp 5730
CacheStreamControlChild.h 2126
CacheStreamControlParent.cpp 5363
CacheStreamControlParent.h 2584
CacheTypes.ipdlh 4103
CacheWorkerRef.cpp 4637
CacheWorkerRef.h 1667
Connection.cpp 7399
Connection.h 926
Context.cpp 33679
Context.h 7748
DBAction.cpp 8070
DBAction.h 2431
DBSchema.cpp 126676
DBSchema.h 4585
FileUtils.cpp 29834
FileUtils.h This function is used to check if the directory padding file is existed. 5168
FileUtilsImpl.h aTrackQuota 3373
IPCUtils.h 1094
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. 69909
Manager.h 9888
ManagerId.cpp 2262
ManagerId.h 1601
PCache.ipdl 719
PCacheOp.ipdl 748
PCacheStorage.ipdl 751
PCacheStreamControl.ipdl 831
PrincipalVerifier.cpp 6266
PrincipalVerifier.h 2463
QuotaClient.cpp aTrackQuota 17289
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. 1926
QuotaClientImpl.h 5465
ReadStream.cpp 18179
ReadStream.h 3788
SavedTypes.h 1401
StreamControl.cpp 2879
StreamControl.h 2722
StreamList.cpp 4629
StreamList.h 2085
TypeUtils.cpp 16035
TypeUtils.h 4860
Types.h 1232
moz.build 2202
test 3