This is to track all the work to implement ServiceWorkerContainerHost mojo interface.
"
SW and workers can only use Update and Unregister. Maybe those need to be split into an associated interface ServiceWorkerRegistrationHost.
interface ServiceWorkerContainerHost {
Register(script_url, opts) => (ServiceWorkerStatus, ServiceWorkerRegistrationObject);
Update(registration_id) => (ServiceWorkerStatus);
Unregister(registration_id) => (ServiceWorkerStatus);
GetRegistration(client_url) => (ServiceWorkerStatus, ServiceWorkerRegistrationObject);
GetRegistrations() => (ServiceWorkerStatus, ServiceWorkerRegistrationObject);
GetRegistrationForReady(ServiceWorkerStatus, ServiceWorkerRegistrationObject);
// Gets an InterfacePtr for the controller.
GetControllerServiceWorker(ServiceWorkerObject);
};
"
Comment 1 by bugdroid1@chromium.org
, Aug 21 2017