With every sample application I look at, it seems that only one type of process (either browser or render) is launched. For example, in the cefclient_win example, we have:
- Code: Select all
ClientApp::ProcessType process_type = ClientApp::GetProcessType(command_line);
if (process_type == ClientApp::BrowserProcess)
app = new ClientAppBrowser();
else if (process_type == ClientApp::RendererProcess)
app = new ClientAppRenderer();
else if (process_type == ClientApp::OtherProcess)
app = new ClientAppOther();
Let's say that the first branch of the above conditional is successful and the browser process is initialized. Where then does the communication with the render process happen? Where is the render process launched?