| 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 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1418 cc::switches::kShowLayerAnimationBounds, | 1419 cc::switches::kShowLayerAnimationBounds, |
| 1419 cc::switches::kShowPropertyChangedRects, | 1420 cc::switches::kShowPropertyChangedRects, |
| 1420 cc::switches::kShowReplicaScreenSpaceRects, | 1421 cc::switches::kShowReplicaScreenSpaceRects, |
| 1421 cc::switches::kShowScreenSpaceRects, | 1422 cc::switches::kShowScreenSpaceRects, |
| 1422 cc::switches::kShowSurfaceDamageRects, | 1423 cc::switches::kShowSurfaceDamageRects, |
| 1423 cc::switches::kSlowDownRasterScaleFactor, | 1424 cc::switches::kSlowDownRasterScaleFactor, |
| 1424 cc::switches::kStrictLayerPropertyChangeChecking, | 1425 cc::switches::kStrictLayerPropertyChangeChecking, |
| 1425 cc::switches::kTopControlsHideThreshold, | 1426 cc::switches::kTopControlsHideThreshold, |
| 1426 cc::switches::kTopControlsShowThreshold, | 1427 cc::switches::kTopControlsShowThreshold, |
| 1427 | 1428 |
| 1429 scheduler::switches::kEnableVirtualizedTime, |
| 1430 |
| 1428 #if defined(ENABLE_PLUGINS) | 1431 #if defined(ENABLE_PLUGINS) |
| 1429 switches::kEnablePepperTesting, | 1432 switches::kEnablePepperTesting, |
| 1430 #endif | 1433 #endif |
| 1431 #if defined(ENABLE_WEBRTC) | 1434 #if defined(ENABLE_WEBRTC) |
| 1432 switches::kDisableWebRtcHWDecoding, | 1435 switches::kDisableWebRtcHWDecoding, |
| 1433 switches::kDisableWebRtcHWEncoding, | 1436 switches::kDisableWebRtcHWEncoding, |
| 1434 switches::kDisableWebRtcMultipleRoutes, | 1437 switches::kDisableWebRtcMultipleRoutes, |
| 1435 switches::kEnableWebRtcDtls12, | 1438 switches::kEnableWebRtcDtls12, |
| 1436 switches::kEnableWebRtcHWH264Encoding, | 1439 switches::kEnableWebRtcHWH264Encoding, |
| 1437 switches::kEnableWebRtcStunOrigin, | 1440 switches::kEnableWebRtcStunOrigin, |
| (...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2623 void RenderProcessHostImpl::GetAudioOutputControllers( | 2626 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2624 const GetAudioOutputControllersCallback& callback) const { | 2627 const GetAudioOutputControllersCallback& callback) const { |
| 2625 audio_renderer_host()->GetOutputControllers(callback); | 2628 audio_renderer_host()->GetOutputControllers(callback); |
| 2626 } | 2629 } |
| 2627 | 2630 |
| 2628 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2631 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
| 2629 return bluetooth_dispatcher_host_.get(); | 2632 return bluetooth_dispatcher_host_.get(); |
| 2630 } | 2633 } |
| 2631 | 2634 |
| 2632 } // namespace content | 2635 } // namespace content |
| OLD | NEW |