| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 #include "content/browser/renderer_host/file_utilities_message_filter.h" | 78 #include "content/browser/renderer_host/file_utilities_message_filter.h" |
| 79 #include "content/browser/renderer_host/gamepad_browser_message_filter.h" | 79 #include "content/browser/renderer_host/gamepad_browser_message_filter.h" |
| 80 #include "content/browser/renderer_host/gpu_message_filter.h" | 80 #include "content/browser/renderer_host/gpu_message_filter.h" |
| 81 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" | 81 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" |
| 82 #include "content/browser/renderer_host/media/audio_renderer_host.h" | 82 #include "content/browser/renderer_host/media/audio_renderer_host.h" |
| 83 #include "content/browser/renderer_host/media/device_request_message_filter.h" | 83 #include "content/browser/renderer_host/media/device_request_message_filter.h" |
| 84 #include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" | 84 #include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" |
| 85 #include "content/browser/renderer_host/media/peer_connection_tracker_host.h" | 85 #include "content/browser/renderer_host/media/peer_connection_tracker_host.h" |
| 86 #include "content/browser/renderer_host/media/video_capture_host.h" | 86 #include "content/browser/renderer_host/media/video_capture_host.h" |
| 87 #include "content/browser/renderer_host/memory_benchmark_message_filter.h" | 87 #include "content/browser/renderer_host/memory_benchmark_message_filter.h" |
| 88 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" | |
| 89 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" | 88 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" |
| 90 #include "content/browser/renderer_host/pepper/pepper_renderer_connection.h" | 89 #include "content/browser/renderer_host/pepper/pepper_renderer_connection.h" |
| 91 #include "content/browser/renderer_host/render_message_filter.h" | 90 #include "content/browser/renderer_host/render_message_filter.h" |
| 92 #include "content/browser/renderer_host/render_view_host_delegate.h" | 91 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 93 #include "content/browser/renderer_host/render_view_host_impl.h" | 92 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 94 #include "content/browser/renderer_host/render_widget_helper.h" | 93 #include "content/browser/renderer_host/render_widget_helper.h" |
| 95 #include "content/browser/renderer_host/render_widget_host_impl.h" | 94 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 96 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" | 95 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" |
| 97 #include "content/browser/renderer_host/text_input_client_message_filter.h" | 96 #include "content/browser/renderer_host/text_input_client_message_filter.h" |
| 98 #include "content/browser/renderer_host/websocket_dispatcher_host.h" | 97 #include "content/browser/renderer_host/websocket_dispatcher_host.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 #include "base/win/scoped_com_initializer.h" | 166 #include "base/win/scoped_com_initializer.h" |
| 168 #include "content/common/font_cache_dispatcher_win.h" | 167 #include "content/common/font_cache_dispatcher_win.h" |
| 169 #include "content/common/sandbox_win.h" | 168 #include "content/common/sandbox_win.h" |
| 170 #include "ui/gfx/win/dpi.h" | 169 #include "ui/gfx/win/dpi.h" |
| 171 #endif | 170 #endif |
| 172 | 171 |
| 173 #if defined(ENABLE_WEBRTC) | 172 #if defined(ENABLE_WEBRTC) |
| 174 #include "content/browser/media/webrtc_internals.h" | 173 #include "content/browser/media/webrtc_internals.h" |
| 175 #include "content/browser/renderer_host/media/media_stream_track_metrics_host.h" | 174 #include "content/browser/renderer_host/media/media_stream_track_metrics_host.h" |
| 176 #include "content/browser/renderer_host/media/webrtc_identity_service_host.h" | 175 #include "content/browser/renderer_host/media/webrtc_identity_service_host.h" |
| 176 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" |
| 177 #include "content/common/media/aec_dump_messages.h" | 177 #include "content/common/media/aec_dump_messages.h" |
| 178 #include "content/common/media/media_stream_messages.h" | 178 #include "content/common/media/media_stream_messages.h" |
| 179 #endif | 179 #endif |
| 180 | 180 |
| 181 extern bool g_exited_main_message_loop; | 181 extern bool g_exited_main_message_loop; |
| 182 | 182 |
| 183 static const char* kSiteProcessMapKeyName = "content_site_process_map"; | 183 static const char* kSiteProcessMapKeyName = "content_site_process_map"; |
| 184 | 184 |
| 185 namespace content { | 185 namespace content { |
| 186 namespace { | 186 namespace { |
| (...skipping 2171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2358 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2358 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
| 2359 IPC::Message* reply, | 2359 IPC::Message* reply, |
| 2360 const gfx::GpuMemoryBufferHandle& handle) { | 2360 const gfx::GpuMemoryBufferHandle& handle) { |
| 2361 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2361 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2362 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2362 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
| 2363 handle); | 2363 handle); |
| 2364 Send(reply); | 2364 Send(reply); |
| 2365 } | 2365 } |
| 2366 | 2366 |
| 2367 } // namespace content | 2367 } // namespace content |
| OLD | NEW |