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

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

Issue 1173263004: [tracing] Send unique tracing process id for cross-process memory dumps identification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding comments. Created 5 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 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 storage_partition_impl_->GetServiceWorkerContext()), 898 storage_partition_impl_->GetServiceWorkerContext()),
899 message_port_message_filter_.get())); 899 message_port_message_filter_.get()));
900 900
901 #if defined(ENABLE_WEBRTC) 901 #if defined(ENABLE_WEBRTC)
902 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost( 902 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost(
903 resource_context, 903 resource_context,
904 browser_context->GetRequestContextForRenderProcess(GetID())); 904 browser_context->GetRequestContextForRenderProcess(GetID()));
905 AddFilter(p2p_socket_dispatcher_host_.get()); 905 AddFilter(p2p_socket_dispatcher_host_.get());
906 #endif 906 #endif
907 907
908 AddFilter(new TraceMessageFilter()); 908 AddFilter(new TraceMessageFilter(GetID()));
909 AddFilter(new ResolveProxyMsgHelper( 909 AddFilter(new ResolveProxyMsgHelper(
910 browser_context->GetRequestContextForRenderProcess(GetID()))); 910 browser_context->GetRequestContextForRenderProcess(GetID())));
911 AddFilter(new QuotaDispatcherHost( 911 AddFilter(new QuotaDispatcherHost(
912 GetID(), 912 GetID(),
913 storage_partition_impl_->GetQuotaManager(), 913 storage_partition_impl_->GetQuotaManager(),
914 GetContentClient()->browser()->CreateQuotaPermissionContext())); 914 GetContentClient()->browser()->CreateQuotaPermissionContext()));
915 915
916 notification_message_filter_ = new NotificationMessageFilter( 916 notification_message_filter_ = new NotificationMessageFilter(
917 GetID(), 917 GetID(),
918 storage_partition_impl_->GetPlatformNotificationContext(), 918 storage_partition_impl_->GetPlatformNotificationContext(),
(...skipping 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after
2518 void RenderProcessHostImpl::GetAudioOutputControllers( 2518 void RenderProcessHostImpl::GetAudioOutputControllers(
2519 const GetAudioOutputControllersCallback& callback) const { 2519 const GetAudioOutputControllersCallback& callback) const {
2520 audio_renderer_host()->GetOutputControllers(callback); 2520 audio_renderer_host()->GetOutputControllers(callback);
2521 } 2521 }
2522 2522
2523 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2523 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2524 return bluetooth_dispatcher_host_.get(); 2524 return bluetooth_dispatcher_host_.get();
2525 } 2525 }
2526 2526
2527 } // namespace content 2527 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698