DescriptionMove all calls on ServiceWorkerContextCoreObserver to ServiceWorkerContextCore.
Currently, ServiceWorkerContextWrapper holds a base::ObserverList of
ServiceWorkerContextCoreObservers, which are passed to the wrapped
ServiceWorkerContextCore upon creation. However, the OnStorageWiped call
is only made by the wrapping class, not the wrapped class.
This CL moves the OnStorageWiped observer method to be triggered by the
wrapped ServiceWorkerContextCore object. This means all observer methods
are triggered by that object.
BUG=625051
Review-Url: https://codereview.chromium.org/2925423002
Cr-Commit-Position: refs/heads/master@{#478897}
Committed: https://chromium.googlesource.com/chromium/src/+/f86ff4e07ecc10e97d9c677b44b1a46d91d1caf3
Patch Set 1 #
Total comments: 2
Patch Set 2 : No need to pass observer_list #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 24 (15 generated)
|