Name Description Size
LocalStorage.cpp aStorage 6190
LocalStorage.h 2669
LocalStorageCache.cpp stabilize 18040
LocalStorageCache.h 11931
LocalStorageManager.cpp 13661
LocalStorageManager.h 4886
PBackgroundLocalStorageCache.ipdl 1226
PBackgroundSessionStorageCache.ipdl Union of SessionStorage mutation types. 1704
PBackgroundSessionStorageManager.ipdl 641
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 4301
PartitionedLocalStorage.h 2149
SessionStorage.cpp 7179
SessionStorage.h 2706
SessionStorageCache.cpp 10016
SessionStorageCache.h Coalescing manipulation queue used by `SessionStorageCache`. Used by `SessionStorageCache` to buffer and coalesce manipulations before they are sent to the parent process. 3203
SessionStorageManager.cpp 19434
SessionStorageManager.h 6770
SessionStorageObserver.cpp 1457
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. 1907
Storage.cpp static 4821
Storage.h 6388
StorageActivityService.cpp 24 hours 8537
StorageActivityService.h 1969
StorageDBThread.cpp 49151
StorageDBThread.h 17110
StorageDBUpdater.cpp 15454
StorageDBUpdater.h 654
StorageIPC.cpp aStorage 45508
StorageIPC.h NO-OP on the child process otherwise 22293
StorageNotifierService.cpp static 4140
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. 2408
StorageObserver.cpp 13396
StorageObserver.h 2404
StorageUtils.cpp 3469
StorageUtils.h 995 1575