Name Description Size
LocalStorage.cpp aStorage 6270
LocalStorage.h 2718
LocalStorageCache.cpp stabilize 18062
LocalStorageCache.h 11953
LocalStorageManager.cpp 14096
LocalStorageManager.h 4828 1487
PartitionedLocalStorage.cpp 4265
PartitionedLocalStorage.h 2149
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
SessionStorage.cpp 4844
SessionStorage.h 2406
SessionStorageCache.cpp 4542
SessionStorageCache.h 1825
SessionStorageManager.cpp 8603
SessionStorageManager.h 2051
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
Storage.cpp static 4479
Storage.h 5980
StorageActivityService.cpp 24 hours 7893
StorageActivityService.h 1944
StorageDBThread.cpp 47089
StorageDBThread.h 16657
StorageDBUpdater.cpp 15591
StorageDBUpdater.h 654
StorageIPC.cpp aStorage 38446
StorageIPC.h NO-OP on the child process otherwise 16770
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 11837
StorageObserver.h 2344
StorageUtils.cpp 4664
StorageUtils.h 1159