Right, change some names, that's the process I'm dealing with. But to clarify my question, what I was wondering was how do I know that ContentMain has started running? Say for arguments sake that Service.onTrimMemory is called, how do I know in my subclassed service that it's ok to use Java interfaces from chromium which require native libraries to have been loaded and initialized.
At first glance it seems only ChildProcessService can ever know when this is safe, but now I realize I may have missed an obvious answer: I'll have our content client or some such call up to Java and flag somewhere when it's ok to use chromium.
Is there a better way though? I don't have a chromium checkout here as I've left work long ago, but I recall chromecast on android using PathService in their content client. Paths they've presumably set from Java, but I wasn't able to see that as the code was missing from our internal repositories. Hopefully it is at least publicly accessible upstream. Either way, this is just what we want to do, so if the chromecast people have solved the problem better on android, I'd be happy to hear about it!