| 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 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1394     // Allow this to be set when invoking the browser and relayed along. |  1394     // Allow this to be set when invoking the browser and relayed along. | 
|  1395     switches::kEnableSandboxLogging, |  1395     switches::kEnableSandboxLogging, | 
|  1396 #endif |  1396 #endif | 
|  1397 #if defined(OS_WIN) |  1397 #if defined(OS_WIN) | 
|  1398     switches::kDisableDirectWrite, |  1398     switches::kDisableDirectWrite, | 
|  1399     switches::kDisableWin32kRendererLockDown, |  1399     switches::kDisableWin32kRendererLockDown, | 
|  1400     switches::kTraceExportEventsToETW, |  1400     switches::kTraceExportEventsToETW, | 
|  1401 #endif |  1401 #endif | 
|  1402 #if defined(USE_OZONE) |  1402 #if defined(USE_OZONE) | 
|  1403     switches::kOzonePlatform, |  1403     switches::kOzonePlatform, | 
 |  1404     switches::kOzoneUseIntelDrm, | 
|  1404 #endif |  1405 #endif | 
|  1405 #if defined(OS_CHROMEOS) |  1406 #if defined(OS_CHROMEOS) | 
|  1406     switches::kDisableVaapiAcceleratedVideoEncode, |  1407     switches::kDisableVaapiAcceleratedVideoEncode, | 
|  1407 #endif |  1408 #endif | 
|  1408   }; |  1409   }; | 
|  1409   renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |  1410   renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 
|  1410                                  arraysize(kSwitchNames)); |  1411                                  arraysize(kSwitchNames)); | 
|  1411  |  1412  | 
|  1412   if (browser_cmd.HasSwitch(switches::kTraceStartup) && |  1413   if (browser_cmd.HasSwitch(switches::kTraceStartup) && | 
|  1413       BrowserMainLoop::GetInstance()->is_tracing_startup()) { |  1414       BrowserMainLoop::GetInstance()->is_tracing_startup()) { | 
| (...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2518 void RenderProcessHostImpl::GetAudioOutputControllers( |  2519 void RenderProcessHostImpl::GetAudioOutputControllers( | 
|  2519     const GetAudioOutputControllersCallback& callback) const { |  2520     const GetAudioOutputControllersCallback& callback) const { | 
|  2520   audio_renderer_host()->GetOutputControllers(callback); |  2521   audio_renderer_host()->GetOutputControllers(callback); | 
|  2521 } |  2522 } | 
|  2522  |  2523  | 
|  2523 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |  2524 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 
|  2524   return bluetooth_dispatcher_host_.get(); |  2525   return bluetooth_dispatcher_host_.get(); | 
|  2525 } |  2526 } | 
|  2526  |  2527  | 
|  2527 }  // namespace content |  2528 }  // namespace content | 
| OLD | NEW |