| 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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 755   gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); | 755   gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); | 
| 756   AddFilter(gpu_message_filter_); | 756   AddFilter(gpu_message_filter_); | 
| 757 #if defined(ENABLE_WEBRTC) | 757 #if defined(ENABLE_WEBRTC) | 
| 758   AddFilter(new WebRTCIdentityServiceHost( | 758   AddFilter(new WebRTCIdentityServiceHost( | 
| 759       GetID(), storage_partition_impl_->GetWebRTCIdentityStore())); | 759       GetID(), storage_partition_impl_->GetWebRTCIdentityStore())); | 
| 760   peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); | 760   peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); | 
| 761   AddFilter(peer_connection_tracker_host_.get()); | 761   AddFilter(peer_connection_tracker_host_.get()); | 
| 762   AddFilter(new MediaStreamDispatcherHost( | 762   AddFilter(new MediaStreamDispatcherHost( | 
| 763       GetID(), | 763       GetID(), | 
| 764       browser_context->GetResourceContext()->GetMediaDeviceIDSalt(), | 764       browser_context->GetResourceContext()->GetMediaDeviceIDSalt(), | 
| 765       media_stream_manager, | 765       media_stream_manager)); | 
| 766       resource_context)); |  | 
| 767   AddFilter(new DeviceRequestMessageFilter( | 766   AddFilter(new DeviceRequestMessageFilter( | 
| 768       resource_context, media_stream_manager, GetID())); | 767       resource_context, media_stream_manager, GetID())); | 
| 769   AddFilter(new MediaStreamTrackMetricsHost()); | 768   AddFilter(new MediaStreamTrackMetricsHost()); | 
| 770 #endif | 769 #endif | 
| 771 #if defined(ENABLE_PLUGINS) | 770 #if defined(ENABLE_PLUGINS) | 
| 772   AddFilter(new PepperRendererConnection(GetID())); | 771   AddFilter(new PepperRendererConnection(GetID())); | 
| 773 #endif | 772 #endif | 
| 774   AddFilter(new SpeechRecognitionDispatcherHost( | 773   AddFilter(new SpeechRecognitionDispatcherHost( | 
| 775       GetID(), storage_partition_impl_->GetURLRequestContext())); | 774       GetID(), storage_partition_impl_->GetURLRequestContext())); | 
| 776   AddFilter(new FileAPIMessageFilter( | 775   AddFilter(new FileAPIMessageFilter( | 
| (...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2289 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2288 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 
| 2290     IPC::Message* reply, | 2289     IPC::Message* reply, | 
| 2291     const gfx::GpuMemoryBufferHandle& handle) { | 2290     const gfx::GpuMemoryBufferHandle& handle) { | 
| 2292   DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2291   DCHECK_CURRENTLY_ON(BrowserThread::UI); | 
| 2293   ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2292   ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 
| 2294                                                                     handle); | 2293                                                                     handle); | 
| 2295   Send(reply); | 2294   Send(reply); | 
| 2296 } | 2295 } | 
| 2297 | 2296 | 
| 2298 }  // namespace content | 2297 }  // namespace content | 
| OLD | NEW | 
|---|