| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
| 6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1202 switches::kEnableWebRtcTcpServerSocket, | 1202 switches::kEnableWebRtcTcpServerSocket, |
| 1203 #endif | 1203 #endif |
| 1204 #if defined(OS_ANDROID) | 1204 #if defined(OS_ANDROID) |
| 1205 switches::kDisableGestureRequirementForMediaPlayback, | 1205 switches::kDisableGestureRequirementForMediaPlayback, |
| 1206 switches::kDisableLowEndDeviceMode, | 1206 switches::kDisableLowEndDeviceMode, |
| 1207 switches::kDisableWebRTC, | 1207 switches::kDisableWebRTC, |
| 1208 switches::kEnableLowEndDeviceMode, | 1208 switches::kEnableLowEndDeviceMode, |
| 1209 switches::kEnableSpeechRecognition, | 1209 switches::kEnableSpeechRecognition, |
| 1210 switches::kMediaDrmEnableNonCompositing, | 1210 switches::kMediaDrmEnableNonCompositing, |
| 1211 switches::kNetworkCountryIso, | 1211 switches::kNetworkCountryIso, |
| 1212 #endif | |
| 1213 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) | |
| 1214 switches::kEnableWebAudio, | |
| 1215 #else | |
| 1216 // Need to be able to disable webaudio on other platforms where it | |
| 1217 // is enabled by default. | |
| 1218 switches::kDisableWebAudio, | 1212 switches::kDisableWebAudio, |
| 1219 #endif | 1213 #endif |
| 1220 #if defined(OS_MACOSX) | 1214 #if defined(OS_MACOSX) |
| 1221 // Allow this to be set when invoking the browser and relayed along. | 1215 // Allow this to be set when invoking the browser and relayed along. |
| 1222 switches::kEnableSandboxLogging, | 1216 switches::kEnableSandboxLogging, |
| 1223 #endif | 1217 #endif |
| 1224 #if defined(OS_POSIX) | 1218 #if defined(OS_POSIX) |
| 1225 switches::kChildCleanExit, | 1219 switches::kChildCleanExit, |
| 1226 #endif | 1220 #endif |
| 1227 #if defined(OS_WIN) | 1221 #if defined(OS_WIN) |
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2173 child_process_launcher_->GetHandle(); | 2167 child_process_launcher_->GetHandle(); |
| 2174 base::PlatformFile client_file = | 2168 base::PlatformFile client_file = |
| 2175 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); | 2169 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); |
| 2176 Send(new MojoMsg_ChannelCreated( | 2170 Send(new MojoMsg_ChannelCreated( |
| 2177 IPC::GetFileHandleForProcess(client_file, process_handle, true))); | 2171 IPC::GetFileHandleForProcess(client_file, process_handle, true))); |
| 2178 } | 2172 } |
| 2179 } | 2173 } |
| 2180 #endif | 2174 #endif |
| 2181 | 2175 |
| 2182 } // namespace content | 2176 } // namespace content |
| OLD | NEW |