I want to send messages from the browser process to the utility (--type=utility) process.
There is SendProcessMessage and OnProcessMessageReceived for this, But for SendProcessMessage I can only set either PID_BROWSER or PID_RENDERER, I would expect something like PID_UTILITY.
I tried treating it like a rendering process (using PID_RENDER and passing a CefRenderProcessHandler implementation to CefExecuteProcess) but it didn't work; ultimately it makes no real sense anyway that it works like that, but I wanted to try before creating a thread here.
Is there some supported way to send messages to the utility process? I obviously could rig my own, but not only would this be very messy, it also would be very platform specific; while CEF or at least Chromium under the hood must already be fully capable of talking to the utility process and exchanging messages with it.