| 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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 storage_partition_impl_->GetServiceWorkerContext()), | 891 storage_partition_impl_->GetServiceWorkerContext()), |
| 892 message_port_message_filter_.get())); | 892 message_port_message_filter_.get())); |
| 893 | 893 |
| 894 #if defined(ENABLE_WEBRTC) | 894 #if defined(ENABLE_WEBRTC) |
| 895 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost( | 895 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost( |
| 896 resource_context, | 896 resource_context, |
| 897 browser_context->GetRequestContextForRenderProcess(GetID())); | 897 browser_context->GetRequestContextForRenderProcess(GetID())); |
| 898 AddFilter(p2p_socket_dispatcher_host_.get()); | 898 AddFilter(p2p_socket_dispatcher_host_.get()); |
| 899 #endif | 899 #endif |
| 900 | 900 |
| 901 AddFilter(new TraceMessageFilter()); | 901 AddFilter(new TraceMessageFilter(GetID())); |
| 902 AddFilter(new ResolveProxyMsgHelper( | 902 AddFilter(new ResolveProxyMsgHelper( |
| 903 browser_context->GetRequestContextForRenderProcess(GetID()))); | 903 browser_context->GetRequestContextForRenderProcess(GetID()))); |
| 904 AddFilter(new QuotaDispatcherHost( | 904 AddFilter(new QuotaDispatcherHost( |
| 905 GetID(), | 905 GetID(), |
| 906 storage_partition_impl_->GetQuotaManager(), | 906 storage_partition_impl_->GetQuotaManager(), |
| 907 GetContentClient()->browser()->CreateQuotaPermissionContext())); | 907 GetContentClient()->browser()->CreateQuotaPermissionContext())); |
| 908 | 908 |
| 909 notification_message_filter_ = new NotificationMessageFilter( | 909 notification_message_filter_ = new NotificationMessageFilter( |
| 910 GetID(), | 910 GetID(), |
| 911 storage_partition_impl_->GetPlatformNotificationContext(), | 911 storage_partition_impl_->GetPlatformNotificationContext(), |
| (...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2512 void RenderProcessHostImpl::GetAudioOutputControllers( | 2512 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2513 const GetAudioOutputControllersCallback& callback) const { | 2513 const GetAudioOutputControllersCallback& callback) const { |
| 2514 audio_renderer_host()->GetOutputControllers(callback); | 2514 audio_renderer_host()->GetOutputControllers(callback); |
| 2515 } | 2515 } |
| 2516 | 2516 |
| 2517 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2517 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
| 2518 return bluetooth_dispatcher_host_.get(); | 2518 return bluetooth_dispatcher_host_.get(); |
| 2519 } | 2519 } |
| 2520 | 2520 |
| 2521 } // namespace content | 2521 } // namespace content |
| OLD | NEW |