| 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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 storage_partition_impl_->GetServiceWorkerContext()), | 897 storage_partition_impl_->GetServiceWorkerContext()), |
| 898 message_port_message_filter_.get())); | 898 message_port_message_filter_.get())); |
| 899 | 899 |
| 900 #if defined(ENABLE_WEBRTC) | 900 #if defined(ENABLE_WEBRTC) |
| 901 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost( | 901 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost( |
| 902 resource_context, | 902 resource_context, |
| 903 browser_context->GetRequestContextForRenderProcess(GetID())); | 903 browser_context->GetRequestContextForRenderProcess(GetID())); |
| 904 AddFilter(p2p_socket_dispatcher_host_.get()); | 904 AddFilter(p2p_socket_dispatcher_host_.get()); |
| 905 #endif | 905 #endif |
| 906 | 906 |
| 907 AddFilter(new TraceMessageFilter()); | 907 AddFilter(new TraceMessageFilter(GetID())); |
| 908 AddFilter(new ResolveProxyMsgHelper( | 908 AddFilter(new ResolveProxyMsgHelper( |
| 909 browser_context->GetRequestContextForRenderProcess(GetID()))); | 909 browser_context->GetRequestContextForRenderProcess(GetID()))); |
| 910 AddFilter(new QuotaDispatcherHost( | 910 AddFilter(new QuotaDispatcherHost( |
| 911 GetID(), | 911 GetID(), |
| 912 storage_partition_impl_->GetQuotaManager(), | 912 storage_partition_impl_->GetQuotaManager(), |
| 913 GetContentClient()->browser()->CreateQuotaPermissionContext())); | 913 GetContentClient()->browser()->CreateQuotaPermissionContext())); |
| 914 | 914 |
| 915 notification_message_filter_ = new NotificationMessageFilter( | 915 notification_message_filter_ = new NotificationMessageFilter( |
| 916 GetID(), | 916 GetID(), |
| 917 storage_partition_impl_->GetPlatformNotificationContext(), | 917 storage_partition_impl_->GetPlatformNotificationContext(), |
| (...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2492 void RenderProcessHostImpl::GetAudioOutputControllers( | 2492 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2493 const GetAudioOutputControllersCallback& callback) const { | 2493 const GetAudioOutputControllersCallback& callback) const { |
| 2494 audio_renderer_host()->GetOutputControllers(callback); | 2494 audio_renderer_host()->GetOutputControllers(callback); |
| 2495 } | 2495 } |
| 2496 | 2496 |
| 2497 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2497 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
| 2498 return bluetooth_dispatcher_host_.get(); | 2498 return bluetooth_dispatcher_host_.get(); |
| 2499 } | 2499 } |
| 2500 | 2500 |
| 2501 } // namespace content | 2501 } // namespace content |
| OLD | NEW |