Name Description Size
LocalStorage.cpp aStorage 6190
LocalStorage.h 2718
LocalStorageCache.cpp stabilize 18062
LocalStorageCache.h 11947
LocalStorageManager.cpp 14042
LocalStorageManager.h 4828
PBackgroundLocalStorageCache.ipdl 1226
PBackgroundStorage.ipdl This protocol bridges async access to the database thread running on the parent process and caches running on the child process. 2523
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!) 1459
PartitionedLocalStorage.cpp 4273
PartitionedLocalStorage.h 2149
SessionStorage.cpp 4816
SessionStorage.h 2406
SessionStorageCache.cpp 5288
SessionStorageCache.h 2023
SessionStorageManager.cpp 12449
SessionStorageManager.h 4868
SessionStorageObserver.cpp 1389
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. 1877
SessionStorageService.cpp 2566
SessionStorageService.h 1176
Storage.cpp static 4474
Storage.h 5980
StorageActivityService.cpp 24 hours 7893
StorageActivityService.h 1944
StorageDBThread.cpp 47014
StorageDBThread.h 16689
StorageDBUpdater.cpp 15580
StorageDBUpdater.h 654
StorageIPC.cpp aStorage 38464
StorageIPC.h NO-OP on the child process otherwise 16794
StorageNotifierService.cpp static 3757
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. 2306
StorageObserver.cpp 11660
StorageObserver.h 2360
StorageUtils.cpp 4862
StorageUtils.h 1159
moz.build 1520