| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 | 1216 |
| 1217 AppendCompositorCommandLineFlags(command_line); | 1217 AppendCompositorCommandLineFlags(command_line); |
| 1218 } | 1218 } |
| 1219 | 1219 |
| 1220 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( | 1220 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
| 1221 const base::CommandLine& browser_cmd, | 1221 const base::CommandLine& browser_cmd, |
| 1222 base::CommandLine* renderer_cmd) const { | 1222 base::CommandLine* renderer_cmd) const { |
| 1223 // Propagate the following switches to the renderer command line (along | 1223 // Propagate the following switches to the renderer command line (along |
| 1224 // with any associated values) if present in the browser command line. | 1224 // with any associated values) if present in the browser command line. |
| 1225 static const char* const kSwitchNames[] = { | 1225 static const char* const kSwitchNames[] = { |
| 1226 "crash-renderer", |
| 1226 switches::kAllowLoopbackInPeerConnection, | 1227 switches::kAllowLoopbackInPeerConnection, |
| 1227 switches::kAudioBufferSize, | 1228 switches::kAudioBufferSize, |
| 1228 switches::kBlinkPlatformLogChannels, | 1229 switches::kBlinkPlatformLogChannels, |
| 1229 switches::kBlinkSettings, | 1230 switches::kBlinkSettings, |
| 1230 switches::kDefaultTileWidth, | 1231 switches::kDefaultTileWidth, |
| 1231 switches::kDefaultTileHeight, | 1232 switches::kDefaultTileHeight, |
| 1232 switches::kDisable3DAPIs, | 1233 switches::kDisable3DAPIs, |
| 1233 switches::kDisableAcceleratedJpegDecoding, | 1234 switches::kDisableAcceleratedJpegDecoding, |
| 1234 switches::kDisableAcceleratedVideoDecode, | 1235 switches::kDisableAcceleratedVideoDecode, |
| 1235 switches::kDisableBlinkFeatures, | 1236 switches::kDisableBlinkFeatures, |
| (...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2526 void RenderProcessHostImpl::GetAudioOutputControllers( | 2527 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2527 const GetAudioOutputControllersCallback& callback) const { | 2528 const GetAudioOutputControllersCallback& callback) const { |
| 2528 audio_renderer_host()->GetOutputControllers(callback); | 2529 audio_renderer_host()->GetOutputControllers(callback); |
| 2529 } | 2530 } |
| 2530 | 2531 |
| 2531 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2532 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
| 2532 return bluetooth_dispatcher_host_.get(); | 2533 return bluetooth_dispatcher_host_.get(); |
| 2533 } | 2534 } |
| 2534 | 2535 |
| 2535 } // namespace content | 2536 } // namespace content |
| OLD | NEW |