Name Description Size
Action.cpp 839
Action.h 3661
ActorChild.cpp 1671
ActorChild.h no-op 978
ActorUtils.h 1539
AutoUtils.cpp 16285
AutoUtils.h 3055
Cache.cpp 19340
Cache.h 4123
CacheChild.cpp 4040
CacheChild.h 2437
CacheCommon.cpp 352
CacheCommon.h 495
CacheOpChild.cpp 7367
CacheOpChild.h 2350
CacheOpParent.cpp 11045
CacheOpParent.h 2491
CacheParent.cpp 2068
CacheParent.h 1327
CacheStorage.cpp 19673
CacheStorage.h 3806
CacheStorageChild.cpp 3555
CacheStorageChild.h 2419
CacheStorageParent.cpp 4109
CacheStorageParent.h 1810
CacheStreamControlChild.cpp aAllowLazy 5068
CacheStreamControlChild.h 1955
CacheStreamControlParent.cpp aAllowLazy 5407
CacheStreamControlParent.h 2357
CacheTypes.ipdlh 4385
CacheWorkerRef.cpp 3820
CacheWorkerRef.h 1650
Connection.cpp 7663
Connection.h 874
Context.cpp 34729
Context.h 7821
DBAction.cpp 8413
DBAction.h 2373
DBSchema.cpp 116824
DBSchema.h 3802
FileUtils.cpp 27916
FileUtils.h This function is used to check if the directory padding file is existed. 6348
FileUtilsImpl.h aTrackQuota 3978
IPCUtils.h 1093
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. 73942
Manager.h 10360
ManagerId.cpp 1991
ManagerId.h 1549
moz.build 2165
PCache.ipdl 604
PCacheOp.ipdl 669
PCacheStorage.ipdl 636
PCacheStreamControl.ipdl 625
PrincipalVerifier.cpp 5740
PrincipalVerifier.h 2366
QuotaClient.cpp aTrackQuota 19800
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. 1973
QuotaClientImpl.h 5014
ReadStream.cpp 17611
ReadStream.h 3639
SavedTypes.h 1349
StreamControl.cpp 2296
StreamControl.h 2573
StreamList.cpp 4527
StreamList.h 2002
test
Types.h 1874
TypeUtils.cpp 16393
TypeUtils.h 5020