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

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

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed webrtc_audio_private_browsertest comments. Created 7 years, 1 month 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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 GetID(), browser_context->GetGeolocationPermissionContext())); 627 GetID(), browser_context->GetGeolocationPermissionContext()));
628 } 628 }
629 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); 629 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
630 AddFilter(gpu_message_filter_); 630 AddFilter(gpu_message_filter_);
631 #if defined(ENABLE_WEBRTC) 631 #if defined(ENABLE_WEBRTC)
632 AddFilter(new WebRTCIdentityServiceHost( 632 AddFilter(new WebRTCIdentityServiceHost(
633 GetID(), storage_partition_impl_->GetWebRTCIdentityStore())); 633 GetID(), storage_partition_impl_->GetWebRTCIdentityStore()));
634 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); 634 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID());
635 AddFilter(peer_connection_tracker_host_.get()); 635 AddFilter(peer_connection_tracker_host_.get());
636 AddFilter(new MediaStreamDispatcherHost( 636 AddFilter(new MediaStreamDispatcherHost(
637 GetID(), media_stream_manager)); 637 GetID(), browser_context->GetResourceContext(), media_stream_manager));
638 AddFilter( 638 AddFilter(
639 new DeviceRequestMessageFilter(resource_context, media_stream_manager)); 639 new DeviceRequestMessageFilter(resource_context, media_stream_manager));
640 #endif 640 #endif
641 #if defined(ENABLE_PLUGINS) 641 #if defined(ENABLE_PLUGINS)
642 AddFilter(new PepperRendererConnection(GetID())); 642 AddFilter(new PepperRendererConnection(GetID()));
643 #endif 643 #endif
644 #if defined(ENABLE_INPUT_SPEECH) 644 #if defined(ENABLE_INPUT_SPEECH)
645 AddFilter(new InputTagSpeechDispatcherHost( 645 AddFilter(new InputTagSpeechDispatcherHost(
646 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext())); 646 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext()));
647 #endif 647 #endif
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1834 // Skip widgets in other processes. 1834 // Skip widgets in other processes.
1835 if (widget->GetProcess()->GetID() != GetID()) 1835 if (widget->GetProcess()->GetID() != GetID())
1836 continue; 1836 continue;
1837 1837
1838 RenderViewHost* rvh = RenderViewHost::From(widget); 1838 RenderViewHost* rvh = RenderViewHost::From(widget);
1839 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1839 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1840 } 1840 }
1841 } 1841 }
1842 1842
1843 } // namespace content 1843 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698