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

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

Issue 22923014: TCPSockets are switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deleted logging. 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 GetID(), storage_partition_impl_->GetWebRTCIdentityStore())); 615 GetID(), storage_partition_impl_->GetWebRTCIdentityStore()));
616 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); 616 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID());
617 channel_->AddFilter(peer_connection_tracker_host_.get()); 617 channel_->AddFilter(peer_connection_tracker_host_.get());
618 channel_->AddFilter(new MediaStreamDispatcherHost( 618 channel_->AddFilter(new MediaStreamDispatcherHost(
619 GetID(), media_stream_manager)); 619 GetID(), media_stream_manager));
620 channel_->AddFilter( 620 channel_->AddFilter(
621 new DeviceRequestMessageFilter(resource_context, media_stream_manager)); 621 new DeviceRequestMessageFilter(resource_context, media_stream_manager));
622 #endif 622 #endif
623 #if defined(ENABLE_PLUGINS) 623 #if defined(ENABLE_PLUGINS)
624 // TODO(raymes): PepperMessageFilter should be removed from here. 624 // TODO(raymes): PepperMessageFilter should be removed from here.
625 channel_->AddFilter(new PepperMessageFilter(GetID(), browser_context)); 625 channel_->AddFilter(PepperMessageFilter::CreateForRendererProcess());
626 channel_->AddFilter(new PepperRendererConnection(GetID())); 626 channel_->AddFilter(new PepperRendererConnection(GetID()));
627 #endif 627 #endif
628 #if defined(ENABLE_INPUT_SPEECH) 628 #if defined(ENABLE_INPUT_SPEECH)
629 channel_->AddFilter(new InputTagSpeechDispatcherHost( 629 channel_->AddFilter(new InputTagSpeechDispatcherHost(
630 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext())); 630 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext()));
631 #endif 631 #endif
632 channel_->AddFilter(new SpeechRecognitionDispatcherHost( 632 channel_->AddFilter(new SpeechRecognitionDispatcherHost(
633 GetID(), storage_partition_impl_->GetURLRequestContext())); 633 GetID(), storage_partition_impl_->GetURLRequestContext()));
634 channel_->AddFilter(new FileAPIMessageFilter( 634 channel_->AddFilter(new FileAPIMessageFilter(
635 GetID(), 635 GetID(),
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1763 // Skip widgets in other processes. 1763 // Skip widgets in other processes.
1764 if (widgets[i]->GetProcess()->GetID() != GetID()) 1764 if (widgets[i]->GetProcess()->GetID() != GetID())
1765 continue; 1765 continue;
1766 1766
1767 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1767 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1768 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1768 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1769 } 1769 }
1770 } 1770 }
1771 1771
1772 } // namespace content 1772 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698