| 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 18 matching lines...) Expand all Loading... |
| 29 #include "base/single_thread_task_runner.h" | 29 #include "base/single_thread_task_runner.h" |
| 30 #include "base/stl_util.h" | 30 #include "base/stl_util.h" |
| 31 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
| 32 #include "base/supports_user_data.h" | 32 #include "base/supports_user_data.h" |
| 33 #include "base/sys_info.h" | 33 #include "base/sys_info.h" |
| 34 #include "base/threading/thread.h" | 34 #include "base/threading/thread.h" |
| 35 #include "base/threading/thread_restrictions.h" | 35 #include "base/threading/thread_restrictions.h" |
| 36 #include "base/trace_event/trace_event.h" | 36 #include "base/trace_event/trace_event.h" |
| 37 #include "base/tracked_objects.h" | 37 #include "base/tracked_objects.h" |
| 38 #include "cc/base/switches.h" | 38 #include "cc/base/switches.h" |
| 39 #include "components/scheduler/common/scheduler_switches.h" |
| 39 #include "components/tracing/tracing_switches.h" | 40 #include "components/tracing/tracing_switches.h" |
| 40 #include "content/browser/appcache/appcache_dispatcher_host.h" | 41 #include "content/browser/appcache/appcache_dispatcher_host.h" |
| 41 #include "content/browser/appcache/chrome_appcache_service.h" | 42 #include "content/browser/appcache/chrome_appcache_service.h" |
| 42 #include "content/browser/background_sync/background_sync_service_impl.h" | 43 #include "content/browser/background_sync/background_sync_service_impl.h" |
| 43 #include "content/browser/bad_message.h" | 44 #include "content/browser/bad_message.h" |
| 44 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" | 45 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" |
| 45 #include "content/browser/browser_child_process_host_impl.h" | 46 #include "content/browser/browser_child_process_host_impl.h" |
| 46 #include "content/browser/browser_main.h" | 47 #include "content/browser/browser_main.h" |
| 47 #include "content/browser/browser_main_loop.h" | 48 #include "content/browser/browser_main_loop.h" |
| 48 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" | 49 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" |
| (...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 cc::switches::kShowLayerAnimationBounds, | 1388 cc::switches::kShowLayerAnimationBounds, |
| 1388 cc::switches::kShowPropertyChangedRects, | 1389 cc::switches::kShowPropertyChangedRects, |
| 1389 cc::switches::kShowReplicaScreenSpaceRects, | 1390 cc::switches::kShowReplicaScreenSpaceRects, |
| 1390 cc::switches::kShowScreenSpaceRects, | 1391 cc::switches::kShowScreenSpaceRects, |
| 1391 cc::switches::kShowSurfaceDamageRects, | 1392 cc::switches::kShowSurfaceDamageRects, |
| 1392 cc::switches::kSlowDownRasterScaleFactor, | 1393 cc::switches::kSlowDownRasterScaleFactor, |
| 1393 cc::switches::kStrictLayerPropertyChangeChecking, | 1394 cc::switches::kStrictLayerPropertyChangeChecking, |
| 1394 cc::switches::kTopControlsHideThreshold, | 1395 cc::switches::kTopControlsHideThreshold, |
| 1395 cc::switches::kTopControlsShowThreshold, | 1396 cc::switches::kTopControlsShowThreshold, |
| 1396 | 1397 |
| 1398 scheduler::switches::kEnableVirtualizedTime, |
| 1399 |
| 1397 #if defined(ENABLE_PLUGINS) | 1400 #if defined(ENABLE_PLUGINS) |
| 1398 switches::kEnablePepperTesting, | 1401 switches::kEnablePepperTesting, |
| 1399 #endif | 1402 #endif |
| 1400 #if defined(ENABLE_WEBRTC) | 1403 #if defined(ENABLE_WEBRTC) |
| 1401 switches::kDisableWebRtcHWDecoding, | 1404 switches::kDisableWebRtcHWDecoding, |
| 1402 switches::kDisableWebRtcHWEncoding, | 1405 switches::kDisableWebRtcHWEncoding, |
| 1403 switches::kDisableWebRtcMultipleRoutes, | 1406 switches::kDisableWebRtcMultipleRoutes, |
| 1404 switches::kEnableWebRtcDtls12, | 1407 switches::kEnableWebRtcDtls12, |
| 1405 switches::kEnableWebRtcHWH264Encoding, | 1408 switches::kEnableWebRtcHWH264Encoding, |
| 1406 switches::kEnableWebRtcStunOrigin, | 1409 switches::kEnableWebRtcStunOrigin, |
| (...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2586 void RenderProcessHostImpl::GetAudioOutputControllers( | 2589 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2587 const GetAudioOutputControllersCallback& callback) const { | 2590 const GetAudioOutputControllersCallback& callback) const { |
| 2588 audio_renderer_host()->GetOutputControllers(callback); | 2591 audio_renderer_host()->GetOutputControllers(callback); |
| 2589 } | 2592 } |
| 2590 | 2593 |
| 2591 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2594 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
| 2592 return bluetooth_dispatcher_host_.get(); | 2595 return bluetooth_dispatcher_host_.get(); |
| 2593 } | 2596 } |
| 2594 | 2597 |
| 2595 } // namespace content | 2598 } // namespace content |
| OLD | NEW |