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 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1373 } | 1373 } |
1374 | 1374 |
1375 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( | 1375 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
1376 const base::CommandLine& browser_cmd, | 1376 const base::CommandLine& browser_cmd, |
1377 base::CommandLine* renderer_cmd) const { | 1377 base::CommandLine* renderer_cmd) const { |
1378 // Propagate the following switches to the renderer command line (along | 1378 // Propagate the following switches to the renderer command line (along |
1379 // with any associated values) if present in the browser command line. | 1379 // with any associated values) if present in the browser command line. |
1380 static const char* const kSwitchNames[] = { | 1380 static const char* const kSwitchNames[] = { |
1381 switches::kAgcStartupMinVolume, | 1381 switches::kAgcStartupMinVolume, |
1382 switches::kAllowLoopbackInPeerConnection, | 1382 switches::kAllowLoopbackInPeerConnection, |
| 1383 switches::kAndroidFontsPath, |
1383 switches::kAudioBufferSize, | 1384 switches::kAudioBufferSize, |
1384 switches::kBlinkPlatformLogChannels, | 1385 switches::kBlinkPlatformLogChannels, |
1385 switches::kBlinkSettings, | 1386 switches::kBlinkSettings, |
1386 switches::kDefaultTileWidth, | 1387 switches::kDefaultTileWidth, |
1387 switches::kDefaultTileHeight, | 1388 switches::kDefaultTileHeight, |
1388 switches::kDisable3DAPIs, | 1389 switches::kDisable3DAPIs, |
1389 switches::kDisableAcceleratedJpegDecoding, | 1390 switches::kDisableAcceleratedJpegDecoding, |
1390 switches::kDisableAcceleratedVideoDecode, | 1391 switches::kDisableAcceleratedVideoDecode, |
1391 switches::kDisableBlinkFeatures, | 1392 switches::kDisableBlinkFeatures, |
1392 switches::kDisableBreakpad, | 1393 switches::kDisableBreakpad, |
(...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2791 void RenderProcessHostImpl::GetAudioOutputControllers( | 2792 void RenderProcessHostImpl::GetAudioOutputControllers( |
2792 const GetAudioOutputControllersCallback& callback) const { | 2793 const GetAudioOutputControllersCallback& callback) const { |
2793 audio_renderer_host()->GetOutputControllers(callback); | 2794 audio_renderer_host()->GetOutputControllers(callback); |
2794 } | 2795 } |
2795 | 2796 |
2796 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2797 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
2797 return bluetooth_dispatcher_host_.get(); | 2798 return bluetooth_dispatcher_host_.get(); |
2798 } | 2799 } |
2799 | 2800 |
2800 } // namespace content | 2801 } // namespace content |
OLD | NEW |