Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1368583006: Don't use view contexts in the renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/renderer_host/gpu_message_filter.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/browser/renderer_host/gpu_message_filter.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698