Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tizen] Change Sandbox IPC process title.
SetProcessTitleFromCommandLine() plays a role to change process title to absolute path of the executable with arguments that the CommandLine object has. For example, we want gpu process title to be "<xwalk dir>/xwalk --type=gpu-process", not "/proc/self/exe --type=gpu-process" However, we don't want to change browser process title, because browser process title should be web app symbolic link path, not xwalk executable absolute path. SandboxIPC process is the process forked by browser process. We want that SandboxIPC process title is different from browser process title. Otherwise, Tizen task switcher misunderstands that SandboxIPC process is also web application process. To achieve it, 1. Browser process must not call SetProcessTitleFromCommandLine(); 2. Browser process must save argv pointer to change SandboxIPC process title later. 3. SandboxIPC process also calls SetProcessTitleFromCommandLine() to change its own process title. BUG=crosswalk-project/crosswalk#609
- Loading branch information