Upstream: Renderers are running in WebAPKs.
This Cl includes the following things:
1. Introduce WebApkSandboxedProcessService which works the same as
Chrome's ChildProcessService, but loads Chrome's code via
Chrome's ClassLoader.
2. Move most of the functionality from ChildProcessService to
ChildProcessServiceImpl, so we could let WebApkSandboxedProcessService
load the ChildProcessServiceImpl class and create an Impl object which
loads Chrome's native libraries and creates renderer process. The
ChildProcessService can't be loaded directly through the same way, it
might because this class extends the Android Service class and
complicates things.
3. Rename child_process_service.h(.cc) to child_process_service_impl.h(.cc)
and updates the JNI register.
4. Pass in the class name of WebApkSandboxedProcessService via
ChildProcessCreationParams in WebApkActivity. So ChildProcessLauncher
knows the class name of the service to connect.
BUG=609122
Review-Url: https://codereview.chromium.org/2049843004
Cr-Commit-Position: refs/heads/master@{#402026}
19 files changed