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

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

Issue 23064006: Test issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored PepperMessageFilter. Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 GetID(), storage_partition_impl_->GetWebRTCIdentityStore())); 654 GetID(), storage_partition_impl_->GetWebRTCIdentityStore()));
655 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); 655 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID());
656 channel_->AddFilter(peer_connection_tracker_host_.get()); 656 channel_->AddFilter(peer_connection_tracker_host_.get());
657 channel_->AddFilter(new MediaStreamDispatcherHost( 657 channel_->AddFilter(new MediaStreamDispatcherHost(
658 GetID(), media_stream_manager)); 658 GetID(), media_stream_manager));
659 channel_->AddFilter( 659 channel_->AddFilter(
660 new DeviceRequestMessageFilter(resource_context, media_stream_manager)); 660 new DeviceRequestMessageFilter(resource_context, media_stream_manager));
661 #endif 661 #endif
662 #if defined(ENABLE_PLUGINS) 662 #if defined(ENABLE_PLUGINS)
663 // TODO(raymes): PepperMessageFilter should be removed from here. 663 // TODO(raymes): PepperMessageFilter should be removed from here.
664 channel_->AddFilter(new PepperMessageFilter(GetID(), browser_context)); 664 channel_->AddFilter(PepperMessageFilter::CreateInProcess(browser_context));
665 channel_->AddFilter(new PepperRendererConnection(GetID())); 665 channel_->AddFilter(new PepperRendererConnection(GetID()));
666 #endif 666 #endif
667 #if defined(ENABLE_INPUT_SPEECH) 667 #if defined(ENABLE_INPUT_SPEECH)
668 channel_->AddFilter(new InputTagSpeechDispatcherHost( 668 channel_->AddFilter(new InputTagSpeechDispatcherHost(
669 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext())); 669 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext()));
670 #endif 670 #endif
671 channel_->AddFilter(new SpeechRecognitionDispatcherHost( 671 channel_->AddFilter(new SpeechRecognitionDispatcherHost(
672 GetID(), storage_partition_impl_->GetURLRequestContext())); 672 GetID(), storage_partition_impl_->GetURLRequestContext()));
673 channel_->AddFilter(new FileAPIMessageFilter( 673 channel_->AddFilter(new FileAPIMessageFilter(
674 GetID(), 674 GetID(),
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1807 // Skip widgets in other processes. 1807 // Skip widgets in other processes.
1808 if (widgets[i]->GetProcess()->GetID() != GetID()) 1808 if (widgets[i]->GetProcess()->GetID() != GetID())
1809 continue; 1809 continue;
1810 1810
1811 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1811 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1813 } 1813 }
1814 } 1814 }
1815 1815
1816 } // namespace content 1816 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/pepper/ssl_context_helper.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698