Name Description Size
LocalStorage.cpp aStorage 6190
LocalStorage.h 2718
LocalStorageCache.cpp stabilize 18022
LocalStorageCache.h 11947
LocalStorageManager.cpp 13121
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 4894
SessionStorage.h 2456
SessionStorageCache.cpp 5288
SessionStorageCache.h 2023
SessionStorageManager.cpp 12795
SessionStorageManager.h 5051
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 4498
Storage.h 5980
StorageActivityService.cpp 24 hours 8234
StorageActivityService.h 1944
StorageDBThread.cpp 46406
StorageDBThread.h 16713
StorageDBUpdater.cpp 15389
StorageDBUpdater.h 654
StorageIPC.cpp aStorage 38572
StorageIPC.h NO-OP on the child process otherwise 16782
StorageNotifierService.cpp static 4049
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 11481
StorageObserver.h 2344
StorageUtils.cpp 3469
StorageUtils.h 995 1520