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

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: Rebase. 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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 storage_partition_impl_->GetServiceWorkerContext()), 896 storage_partition_impl_->GetServiceWorkerContext()),
897 message_port_message_filter_.get())); 897 message_port_message_filter_.get()));
898 898
899 #if defined(ENABLE_WEBRTC) 899 #if defined(ENABLE_WEBRTC)
900 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost( 900 p2p_socket_dispatcher_host_ = new P2PSocketDispatcherHost(
901 resource_context, 901 resource_context,
902 browser_context->GetRequestContextForRenderProcess(GetID())); 902 browser_context->GetRequestContextForRenderProcess(GetID()));
903 AddFilter(p2p_socket_dispatcher_host_.get()); 903 AddFilter(p2p_socket_dispatcher_host_.get());
904 #endif 904 #endif
905 905
906 AddFilter(new TraceMessageFilter()); 906 AddFilter(new TraceMessageFilter(GetID()));
907 AddFilter(new ResolveProxyMsgHelper( 907 AddFilter(new ResolveProxyMsgHelper(
908 browser_context->GetRequestContextForRenderProcess(GetID()))); 908 browser_context->GetRequestContextForRenderProcess(GetID())));
909 AddFilter(new QuotaDispatcherHost( 909 AddFilter(new QuotaDispatcherHost(
910 GetID(), 910 GetID(),
911 storage_partition_impl_->GetQuotaManager(), 911 storage_partition_impl_->GetQuotaManager(),
912 GetContentClient()->browser()->CreateQuotaPermissionContext())); 912 GetContentClient()->browser()->CreateQuotaPermissionContext()));
913 913
914 notification_message_filter_ = new NotificationMessageFilter( 914 notification_message_filter_ = new NotificationMessageFilter(
915 GetID(), 915 GetID(),
916 storage_partition_impl_->GetPlatformNotificationContext(), 916 storage_partition_impl_->GetPlatformNotificationContext(),
(...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after
2504 void RenderProcessHostImpl::GetAudioOutputControllers( 2504 void RenderProcessHostImpl::GetAudioOutputControllers(
2505 const GetAudioOutputControllersCallback& callback) const { 2505 const GetAudioOutputControllersCallback& callback) const {
2506 audio_renderer_host()->GetOutputControllers(callback); 2506 audio_renderer_host()->GetOutputControllers(callback);
2507 } 2507 }
2508 2508
2509 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2509 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2510 return bluetooth_dispatcher_host_.get(); 2510 return bluetooth_dispatcher_host_.get();
2511 } 2511 }
2512 2512
2513 } // namespace content 2513 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698