gecko-dev/dom/cache
Jan Varga 0e46119bb9 Bug 1563023 - Part 3: Change client usage type to support the null value; r=asuth
This patch wraps the uint64_t type in a Maybe container, so the client usage can
represent a state when there are no files on disk for the given client. Zero
usage then represents a state when there are some files but they are empty or
the client tracks logical size (not physical size of files on disk) and the
logical size is zero. This can be useful especially for LocalStorage.

Differential Revision: https://phabricator.services.mozilla.com/D38181

--HG--
extra : moz-landing-system : lando
2019-08-22 20:52:09 +00:00
..
test Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
Action.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Action.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ActorChild.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
ActorChild.h Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
ActorUtils.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
AutoUtils.cpp Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
AutoUtils.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Cache.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
Cache.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CacheChild.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheChild.h Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheOpChild.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheOpChild.h Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheOpParent.cpp Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
CacheOpParent.h Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
CacheParent.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CacheParent.h Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
CacheStorage.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
CacheStorage.h Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheStorageChild.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheStorageChild.h Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheStorageParent.cpp Bug 1526891 - Part 4: Add QuotaManager::IsPrincipalInfoValid checks to all quota clients; r=asuth 2019-02-23 17:03:40 +01:00
CacheStorageParent.h Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
CacheStreamControlChild.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheStreamControlChild.h Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
CacheStreamControlParent.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CacheStreamControlParent.h Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
CacheTypes.ipdlh Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
CacheWorkerRef.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
CacheWorkerRef.h Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00
Connection.cpp Bug 1552547 part 1. Stop using [array] in mozIStorageAsyncConnection.executeAsync. r=mak 2019-05-20 16:17:51 +00:00
Connection.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Context.cpp Bug 1547688 - LSNG: Preloading can use gUsages hash table to quickly finish if there's nothing to preload; r=asuth 2019-04-29 14:23:55 +02:00
Context.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
DBAction.cpp Bug 1563023 - Part 1: Implement per client usage tracking; r=asuth 2019-08-22 13:06:48 +00:00
DBAction.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
DBSchema.cpp Bug 467035 - Add new internal DTD content types r=ckerschb 2019-07-03 17:28:25 +00:00
DBSchema.h Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
FileUtils.cpp Bug 1563023 - Part 1: Implement per client usage tracking; r=asuth 2019-08-22 13:06:48 +00:00
FileUtils.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
IPCUtils.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Manager.cpp Bug 1546500: Avoid dispatching synchronous thread shutdown runnables. r=froydnj 2019-04-23 13:16:15 -07:00
Manager.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ManagerId.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ManagerId.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PCache.ipdl
PCacheOp.ipdl
PCacheStorage.ipdl
PCacheStreamControl.ipdl
PrincipalVerifier.cpp Bug 1538262: Remove unused ssm variable in PrincipalVerifier::VerifyOnMainThread. r=jkt 2019-03-26 18:09:09 +00:00
PrincipalVerifier.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
QuotaClient.cpp Bug 1563023 - Part 3: Change client usage type to support the null value; r=asuth 2019-08-22 20:52:09 +00:00
QuotaClient.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ReadStream.cpp Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
ReadStream.h Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
SavedTypes.h Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
StreamControl.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
StreamControl.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
StreamList.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
StreamList.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TypeUtils.cpp Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
TypeUtils.h Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung 2019-03-21 11:09:44 +00:00
Types.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
moz.build Bug 1559919 - Finish the WorkerHolder cleanup - part 10 - CacheWorkerHolder ported to WorkerRef, r=asuth 2019-07-12 11:17:59 +00:00