Name Description Size Coverage
BackgroundSessionStorageServiceParent.cpp 927 86 %
BackgroundSessionStorageServiceParent.h 1019 50 %
components.conf 605 -
LocalStorage.cpp aStorage 6160 15 %
LocalStorage.h 2643 50 %
LocalStorageCache.cpp stabilize 17393 38 %
LocalStorageCache.h 11829 93 %
LocalStorageManager.cpp 14274 41 %
LocalStorageManager.h 4961 75 %
moz.build 1915 -
nsISessionStorageService.idl Removes all storages stored for the given principal. @param aPrincipal A principal for the origin whose storages are to be cleared. 729 -
PartitionedLocalStorage.cpp 3939 26 %
PartitionedLocalStorage.h 2123 100 %
PBackgroundLocalStorageCache.ipdl 1281 -
PBackgroundSessionStorageCache.ipdl Union of SessionStorage mutation types. 1771 -
PBackgroundSessionStorageManager.ipdl 1014 -
PBackgroundSessionStorageService.ipdl 532 -
PBackgroundStorage.ipdl This protocol bridges async access to the database thread running on the parent process and caches running on the child process. 2578 -
PSessionStorageObserver.ipdl Protocol used to relay chrome observer notifications related to clearing data to SessionStorageManager instances in content processes. A single instance is created by each content process when LocalStorage NextGen is enabled. When LSNG is disabled, the notifications are instead propagated via PBackgroundStorageChild. This does mean there are potentially slight ordering differences in when the notification will be received and processed. It's okay for this protocol to be managed by PContent rather than PBackground because these notifications are both rare and to-child-only. (Legacy LocalStorage was moved to PBackground from PContent because of parent-process main-thread contention for the processing of "parent:" messages in a very performance-sensitive context!) 1514 -
SessionStorage.cpp 6893 76 %
SessionStorage.h 2680 100 %
SessionStorageCache.cpp 8319 96 %
SessionStorageCache.h Coalescing manipulation queue used by `SessionStorageCache`. Used by `SessionStorageCache` to buffer and coalesce manipulations before they are sent to the parent process. 2571 100 %
SessionStorageManager.cpp 30504 93 %
SessionStorageManager.h 11853 83 %
SessionStorageObserver.cpp 1432 100 %
SessionStorageObserver.h Effectively just a refcounted life-cycle management wrapper around SessionStorageObserverChild which exists to receive chrome observer notifications from the main process. ## Lifecycle ## - Created by SessionStorageManager::SessionStorageManager. Placed in the gSessionStorageObserver variable for subsequent SessionStorageManager's via SessionStorageObserver::Get lookup. - The SessionStorageObserverChild directly handles "Observe" messages, shunting them directly to StorageObserver::Notify which distributes them to individual observer sinks. - Destroyed when refcount goes to zero due to all owning SessionStorageManager being destroyed. 1881 100 %
SessionStorageService.cpp aWhy 3556 93 %
SessionStorageService.h DOM_STORAGE_SESSIONSTORAGESERVICE_H_ 1518 0 %
Storage.cpp static 4916 92 %
Storage.h 6353 67 %
StorageActivityService.cpp 24 hours 8557 81 %
StorageActivityService.h 1784 -
StorageCommon.h 547 -
StorageDBThread.cpp 50038 49 %
StorageDBThread.h 17253 45 %
StorageDBUpdater.cpp 17286 42 %
StorageDBUpdater.h 778 -
StorageIPC.cpp aStorage 46689 69 %
StorageIPC.h NO-OP on the child process otherwise 22636 68 %
StorageNotifierService.cpp static 4115 98 %
StorageNotifierService.h Enables the StorageNotifierService to check whether an observer is interested in receiving events for the given principal before calling the method, an optimization refactoring. Expected to only be implemented by nsGlobalWindowObserver or its succesor. 2448 100 %
StorageObserver.cpp 15288 62 %
StorageObserver.h 2621 100 %
StorageUtils.cpp 3452 88 %
StorageUtils.h 943 -