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 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1170 cc::switches::kTopControlsShowThreshold, | 1170 cc::switches::kTopControlsShowThreshold, |
1171 #if defined(ENABLE_PLUGINS) | 1171 #if defined(ENABLE_PLUGINS) |
1172 switches::kEnablePepperTesting, | 1172 switches::kEnablePepperTesting, |
1173 #endif | 1173 #endif |
1174 #if defined(ENABLE_WEBRTC) | 1174 #if defined(ENABLE_WEBRTC) |
1175 switches::kDisableAudioTrackProcessing, | 1175 switches::kDisableAudioTrackProcessing, |
1176 switches::kDisableDeviceEnumeration, | 1176 switches::kDisableDeviceEnumeration, |
1177 switches::kDisableWebRtcHWDecoding, | 1177 switches::kDisableWebRtcHWDecoding, |
1178 switches::kDisableWebRtcHWEncoding, | 1178 switches::kDisableWebRtcHWEncoding, |
1179 switches::kEnableWebRtcHWVp8Encoding, | 1179 switches::kEnableWebRtcHWVp8Encoding, |
1180 switches::kEnableWebRtcTcpServerSocket, | |
1181 #endif | 1180 #endif |
1182 #if defined(OS_ANDROID) | 1181 #if defined(OS_ANDROID) |
1183 switches::kDisableGestureRequirementForMediaPlayback, | 1182 switches::kDisableGestureRequirementForMediaPlayback, |
1184 switches::kDisableLowEndDeviceMode, | 1183 switches::kDisableLowEndDeviceMode, |
1185 switches::kDisableWebRTC, | 1184 switches::kDisableWebRTC, |
1186 switches::kEnableLowEndDeviceMode, | 1185 switches::kEnableLowEndDeviceMode, |
1187 switches::kEnableSpeechRecognition, | 1186 switches::kEnableSpeechRecognition, |
1188 switches::kMediaDrmEnableNonCompositing, | 1187 switches::kMediaDrmEnableNonCompositing, |
1189 switches::kNetworkCountryIso, | 1188 switches::kNetworkCountryIso, |
1190 switches::kDisableWebAudio, | 1189 switches::kDisableWebAudio, |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2071 mojo::ScopedMessagePipeHandle handle) { | 2070 mojo::ScopedMessagePipeHandle handle) { |
2072 mojo_activation_required_ = true; | 2071 mojo_activation_required_ = true; |
2073 MaybeActivateMojo(); | 2072 MaybeActivateMojo(); |
2074 | 2073 |
2075 mojo::AllocationScope scope; | 2074 mojo::AllocationScope scope; |
2076 mojo_application_host_->service_provider()->ConnectToService(service_name, | 2075 mojo_application_host_->service_provider()->ConnectToService(service_name, |
2077 handle.Pass()); | 2076 handle.Pass()); |
2078 } | 2077 } |
2079 | 2078 |
2080 } // namespace content | 2079 } // namespace content |
OLD | NEW |