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

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

Issue 2033353002: Remove PeerConnectionIdentityStore and related messaging/storage code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 #include "content/browser/media/cdm/browser_cdm_manager.h" 218 #include "content/browser/media/cdm/browser_cdm_manager.h"
219 #endif 219 #endif
220 220
221 #if defined(ENABLE_PLUGINS) 221 #if defined(ENABLE_PLUGINS)
222 #include "content/browser/plugin_service_impl.h" 222 #include "content/browser/plugin_service_impl.h"
223 #endif 223 #endif
224 224
225 #if defined(ENABLE_WEBRTC) 225 #if defined(ENABLE_WEBRTC)
226 #include "content/browser/media/webrtc/webrtc_internals.h" 226 #include "content/browser/media/webrtc/webrtc_internals.h"
227 #include "content/browser/renderer_host/media/media_stream_track_metrics_host.h" 227 #include "content/browser/renderer_host/media/media_stream_track_metrics_host.h"
228 #include "content/browser/renderer_host/media/webrtc_identity_service_host.h"
229 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" 228 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h"
230 #include "content/common/media/aec_dump_messages.h" 229 #include "content/common/media/aec_dump_messages.h"
231 #include "content/common/media/media_stream_messages.h" 230 #include "content/common/media/media_stream_messages.h"
232 #endif 231 #endif
233 232
234 #if defined(OS_WIN) 233 #if defined(OS_WIN)
235 #define IntToStringType base::IntToString16 234 #define IntToStringType base::IntToString16
236 #else 235 #else
237 #define IntToStringType base::IntToString 236 #define IntToStringType base::IntToString
238 #endif 237 #endif
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 storage_partition_impl_->GetAppCacheService(), GetID())); 902 storage_partition_impl_->GetAppCacheService(), GetID()));
904 AddFilter(new ClipboardMessageFilter(blob_storage_context)); 903 AddFilter(new ClipboardMessageFilter(blob_storage_context));
905 AddFilter(new DOMStorageMessageFilter( 904 AddFilter(new DOMStorageMessageFilter(
906 storage_partition_impl_->GetDOMStorageContext())); 905 storage_partition_impl_->GetDOMStorageContext()));
907 AddFilter(new IndexedDBDispatcherHost( 906 AddFilter(new IndexedDBDispatcherHost(
908 GetID(), storage_partition_impl_->GetURLRequestContext(), 907 GetID(), storage_partition_impl_->GetURLRequestContext(),
909 storage_partition_impl_->GetIndexedDBContext(), 908 storage_partition_impl_->GetIndexedDBContext(),
910 blob_storage_context.get())); 909 blob_storage_context.get()));
911 910
912 #if defined(ENABLE_WEBRTC) 911 #if defined(ENABLE_WEBRTC)
913 AddFilter(new WebRTCIdentityServiceHost(
914 GetID(), storage_partition_impl_->GetWebRTCIdentityStore(),
915 resource_context));
916 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); 912 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID());
917 AddFilter(peer_connection_tracker_host_.get()); 913 AddFilter(peer_connection_tracker_host_.get());
918 AddFilter(new MediaStreamDispatcherHost( 914 AddFilter(new MediaStreamDispatcherHost(
919 GetID(), browser_context->GetResourceContext()->GetMediaDeviceIDSalt(), 915 GetID(), browser_context->GetResourceContext()->GetMediaDeviceIDSalt(),
920 media_stream_manager)); 916 media_stream_manager));
921 AddFilter(new MediaStreamTrackMetricsHost()); 917 AddFilter(new MediaStreamTrackMetricsHost());
922 #endif 918 #endif
923 #if defined(ENABLE_PLUGINS) 919 #if defined(ENABLE_PLUGINS)
924 AddFilter(new PepperRendererConnection(GetID())); 920 AddFilter(new PepperRendererConnection(GetID()));
925 #endif 921 #endif
(...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after
2781 2777
2782 // Skip widgets in other processes. 2778 // Skip widgets in other processes.
2783 if (rvh->GetProcess()->GetID() != GetID()) 2779 if (rvh->GetProcess()->GetID() != GetID())
2784 continue; 2780 continue;
2785 2781
2786 rvh->OnWebkitPreferencesChanged(); 2782 rvh->OnWebkitPreferencesChanged();
2787 } 2783 }
2788 } 2784 }
2789 2785
2790 } // namespace content 2786 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698