| 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 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1364 switches::kDisableWebRTC, | 1364 switches::kDisableWebRTC, |
| 1365 switches::kDisableWebAudio, | 1365 switches::kDisableWebAudio, |
| 1366 switches::kRendererWaitForJavaDebugger, | 1366 switches::kRendererWaitForJavaDebugger, |
| 1367 #endif | 1367 #endif |
| 1368 #if defined(OS_MACOSX) | 1368 #if defined(OS_MACOSX) |
| 1369 // Allow this to be set when invoking the browser and relayed along. | 1369 // Allow this to be set when invoking the browser and relayed along. |
| 1370 switches::kEnableSandboxLogging, | 1370 switches::kEnableSandboxLogging, |
| 1371 #endif | 1371 #endif |
| 1372 #if defined(OS_WIN) | 1372 #if defined(OS_WIN) |
| 1373 switches::kDisableDirectWrite, | 1373 switches::kDisableDirectWrite, |
| 1374 switches::kEnableWin32kRendererLockDown, | |
| 1375 switches::kDisableWin32kRendererLockDown, | 1374 switches::kDisableWin32kRendererLockDown, |
| 1376 switches::kTraceExportEventsToETW, | 1375 switches::kTraceExportEventsToETW, |
| 1377 #endif | 1376 #endif |
| 1378 #if defined(OS_CHROMEOS) | 1377 #if defined(OS_CHROMEOS) |
| 1379 switches::kDisableVaapiAcceleratedVideoEncode, | 1378 switches::kDisableVaapiAcceleratedVideoEncode, |
| 1380 #endif | 1379 #endif |
| 1381 }; | 1380 }; |
| 1382 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 1381 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
| 1383 arraysize(kSwitchNames)); | 1382 arraysize(kSwitchNames)); |
| 1384 | 1383 |
| (...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2454 if (worker_ref_count_ == 0) | 2453 if (worker_ref_count_ == 0) |
| 2455 Cleanup(); | 2454 Cleanup(); |
| 2456 } | 2455 } |
| 2457 | 2456 |
| 2458 void RenderProcessHostImpl::GetAudioOutputControllers( | 2457 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2459 const GetAudioOutputControllersCallback& callback) const { | 2458 const GetAudioOutputControllersCallback& callback) const { |
| 2460 audio_renderer_host()->GetOutputControllers(callback); | 2459 audio_renderer_host()->GetOutputControllers(callback); |
| 2461 } | 2460 } |
| 2462 | 2461 |
| 2463 } // namespace content | 2462 } // namespace content |
| OLD | NEW |