Hi everyone. I need to create my own processes that will do some stuff when browser is launching. I found that in file \src\chrome\browser\chrome_browser_main.cc there is function
int ChromeBrowserMainParts::PreEarlyInitialization()
and there call another function
browser_process_ =
std::make_unique<BrowserProcessImpl>(local_state_task_runner.get());
so I think if I can implement my own class that inherited from
BrowserProcessImpl
I can create as much processes as I want. Is this approach is right? Or if there some Readme file it will be great.