| 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 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 GetID())); | 840 GetID())); |
| 841 AddFilter(new ClipboardMessageFilter); | 841 AddFilter(new ClipboardMessageFilter); |
| 842 AddFilter(new DOMStorageMessageFilter( | 842 AddFilter(new DOMStorageMessageFilter( |
| 843 storage_partition_impl_->GetDOMStorageContext())); | 843 storage_partition_impl_->GetDOMStorageContext())); |
| 844 AddFilter(new IndexedDBDispatcherHost( | 844 AddFilter(new IndexedDBDispatcherHost( |
| 845 GetID(), | 845 GetID(), |
| 846 storage_partition_impl_->GetURLRequestContext(), | 846 storage_partition_impl_->GetURLRequestContext(), |
| 847 storage_partition_impl_->GetIndexedDBContext(), | 847 storage_partition_impl_->GetIndexedDBContext(), |
| 848 ChromeBlobStorageContext::GetFor(browser_context))); | 848 ChromeBlobStorageContext::GetFor(browser_context))); |
| 849 | 849 |
| 850 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); | 850 gpu_message_filter_ = new GpuMessageFilter(GetID()); |
| 851 AddFilter(gpu_message_filter_); | 851 AddFilter(gpu_message_filter_); |
| 852 #if defined(ENABLE_WEBRTC) | 852 #if defined(ENABLE_WEBRTC) |
| 853 AddFilter(new WebRTCIdentityServiceHost( | 853 AddFilter(new WebRTCIdentityServiceHost( |
| 854 GetID(), | 854 GetID(), |
| 855 storage_partition_impl_->GetWebRTCIdentityStore(), | 855 storage_partition_impl_->GetWebRTCIdentityStore(), |
| 856 resource_context)); | 856 resource_context)); |
| 857 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); | 857 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); |
| 858 AddFilter(peer_connection_tracker_host_.get()); | 858 AddFilter(peer_connection_tracker_host_.get()); |
| 859 AddFilter(new MediaStreamDispatcherHost( | 859 AddFilter(new MediaStreamDispatcherHost( |
| 860 GetID(), | 860 GetID(), |
| (...skipping 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2579 void RenderProcessHostImpl::GetAudioOutputControllers( | 2579 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2580 const GetAudioOutputControllersCallback& callback) const { | 2580 const GetAudioOutputControllersCallback& callback) const { |
| 2581 audio_renderer_host()->GetOutputControllers(callback); | 2581 audio_renderer_host()->GetOutputControllers(callback); |
| 2582 } | 2582 } |
| 2583 | 2583 |
| 2584 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2584 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
| 2585 return bluetooth_dispatcher_host_.get(); | 2585 return bluetooth_dispatcher_host_.get(); |
| 2586 } | 2586 } |
| 2587 | 2587 |
| 2588 } // namespace content | 2588 } // namespace content |
| OLD | NEW |