DescriptionAdd a ServiceWorkerContextObserver to content's public API.
This CL introduces a ServiceWorkerContextObserver which may be used by
classes outside of content. The observer is implemented by proxying the
internal ServiceWorkerContextCoreObserver method calls via
ServiceWorkerContextWrapper.
This CL also exposes ServiceWorkerUtils::ScopeMatches on the public
ServiceWorkerContext interface in preparation for
crrev.com/2942513002, where the method is used to check if a
manifest URL lies within the scope of a service worker.
BUG=625051
Review-Url: https://codereview.chromium.org/2934163003
Cr-Commit-Position: refs/heads/master@{#479568}
Committed: https://chromium.googlesource.com/chromium/src/+/5bce7f41747fd8e3918ae354977e655487237e4c
Patch Set 1 #Patch Set 2 : RemoveObserver on destruct #
Total comments: 2
Patch Set 3 : Clarifying comment #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 23 (17 generated)
|