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

Unified Diff: components/tracing/child/child_trace_message_filter.cc

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/tracing/child/child_trace_message_filter.cc
diff --git a/components/tracing/child/child_trace_message_filter.cc b/components/tracing/child/child_trace_message_filter.cc
index 0a7ecd062940be1fcf7cde6e88533392a0ecb948..8c04aa2aad6627fffefec56336257ad9207dabc9 100644
--- a/components/tracing/child/child_trace_message_filter.cc
+++ b/components/tracing/child/child_trace_message_filter.cc
@@ -30,8 +30,8 @@ ChildTraceMessageFilter::ChildTraceMessageFilter(
pending_memory_dump_guid_(0) {
}
-void ChildTraceMessageFilter::OnFilterAdded(IPC::Sender* sender) {
- sender_ = sender;
+void ChildTraceMessageFilter::OnFilterAdded(IPC::Channel* channel) {
+ sender_ = channel;
sender_->Send(new TracingHostMsg_ChildSupportsTracing());
ChildMemoryDumpManagerDelegateImpl::GetInstance()->SetChildTraceMessageFilter(
this);
« no previous file with comments | « components/tracing/child/child_trace_message_filter.h ('k') | content/browser/dom_storage/dom_storage_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698