Add a ServiceWorkerContextObserver to content's public API.