|
Lines 76-87
void ProcessLauncher::launchProcess()
a/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp_sec1
|
| 76 |
|
76 |
|
| 77 |
String executablePath, pluginPath; |
77 |
String executablePath, pluginPath; |
| 78 |
CString realExecutablePath, realPluginPath; |
78 |
CString realExecutablePath, realPluginPath; |
| 79 |
if (m_launchOptions.processType == WebProcess) |
79 |
switch (m_launchOptions.processType) { |
|
|
80 |
case WebProcess: |
| 80 |
executablePath = executablePathOfWebProcess(); |
81 |
executablePath = executablePathOfWebProcess(); |
| 81 |
else { |
82 |
break; |
|
|
83 |
case PluginProcess: |
| 82 |
executablePath = executablePathOfPluginProcess(); |
84 |
executablePath = executablePathOfPluginProcess(); |
| 83 |
pluginPath = m_launchOptions.extraInitializationData.get("plugin-path"); |
85 |
pluginPath = m_launchOptions.extraInitializationData.get("plugin-path"); |
| 84 |
realPluginPath = fileSystemRepresentation(pluginPath); |
86 |
realPluginPath = fileSystemRepresentation(pluginPath); |
|
|
87 |
break; |
| 88 |
#if ENABLE(NETWORK_PROCESS) |
| 89 |
case NetworkProcess: |
| 90 |
executablePath = executablePathOfNetworkProcess(); |
| 91 |
break; |
| 92 |
#endif |
| 93 |
default: |
| 94 |
ASSERT_NOT_REACHED(); |
| 95 |
return; |
| 85 |
} |
96 |
} |
| 86 |
|
97 |
|
| 87 |
realExecutablePath = fileSystemRepresentation(executablePath); |
98 |
realExecutablePath = fileSystemRepresentation(executablePath); |