Put into third_party/WebKit/public/platform/modules/serviceworker/service_worker_object.mojom:
'
interface ServiceWorkerObjectHost {
// Replace ServiceWorkerHostMsg_PostMessageToWorker.
PostMessage(string message, url.mojom.Origin source_origin,
array<handle<message_pipe>> sent_message_ports);
// Replace ServiceWorkerHostMsg_TerminateWorker.
Terminate();
};
'
The following 2 IPCs will also disappear via the similar method used in issue 758151 .
ServiceWorkerHostMsg_IncrementServiceWorkerRefCount
ServiceWorkerHostMsg_DecrementServiceWorkerRefCount
Comment 1 by leon....@intel.com
, Oct 9 2017