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 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1225 switches::kDisableAudioTrackProcessing, | 1225 switches::kDisableAudioTrackProcessing, |
1226 switches::kDisableWebRtcHWDecoding, | 1226 switches::kDisableWebRtcHWDecoding, |
1227 switches::kDisableWebRtcHWEncoding, | 1227 switches::kDisableWebRtcHWEncoding, |
1228 switches::kEnableWebRtcHWVp8Encoding, | 1228 switches::kEnableWebRtcHWVp8Encoding, |
1229 switches::kEnableWebRtcHWH264Encoding, | 1229 switches::kEnableWebRtcHWH264Encoding, |
1230 #endif | 1230 #endif |
1231 switches::kLowEndDeviceMode, | 1231 switches::kLowEndDeviceMode, |
1232 #if defined(OS_ANDROID) | 1232 #if defined(OS_ANDROID) |
1233 switches::kDisableGestureRequirementForMediaPlayback, | 1233 switches::kDisableGestureRequirementForMediaPlayback, |
1234 switches::kDisableWebRTC, | 1234 switches::kDisableWebRTC, |
1235 switches::kEnableSpeechRecognition, | |
1236 switches::kMediaDrmEnableNonCompositing, | 1235 switches::kMediaDrmEnableNonCompositing, |
1237 switches::kNetworkCountryIso, | 1236 switches::kNetworkCountryIso, |
1238 switches::kDisableWebAudio, | 1237 switches::kDisableWebAudio, |
1239 switches::kRendererWaitForJavaDebugger, | 1238 switches::kRendererWaitForJavaDebugger, |
1240 #endif | 1239 #endif |
1241 #if defined(OS_MACOSX) | 1240 #if defined(OS_MACOSX) |
1242 // Allow this to be set when invoking the browser and relayed along. | 1241 // Allow this to be set when invoking the browser and relayed along. |
1243 switches::kEnableSandboxLogging, | 1242 switches::kEnableSandboxLogging, |
1244 #endif | 1243 #endif |
1245 #if defined(OS_WIN) | 1244 #if defined(OS_WIN) |
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2244 if (worker_ref_count_ == 0) | 2243 if (worker_ref_count_ == 0) |
2245 Cleanup(); | 2244 Cleanup(); |
2246 } | 2245 } |
2247 | 2246 |
2248 void RenderProcessHostImpl::EnsureMojoActivated() { | 2247 void RenderProcessHostImpl::EnsureMojoActivated() { |
2249 mojo_activation_required_ = true; | 2248 mojo_activation_required_ = true; |
2250 MaybeActivateMojo(); | 2249 MaybeActivateMojo(); |
2251 } | 2250 } |
2252 | 2251 |
2253 } // namespace content | 2252 } // namespace content |
OLD | NEW |