| Index: content/common/child_thread.cc
|
| ===================================================================
|
| --- content/common/child_thread.cc (revision 140625)
|
| +++ content/common/child_thread.cc (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "base/process.h"
|
| #include "base/string_util.h"
|
| #include "base/tracked_objects.h"
|
| +#include "content/common/child_histogram_message_filter.h"
|
| #include "content/common/child_process.h"
|
| #include "content/common/child_process_messages.h"
|
| #include "content/common/child_trace_message_filter.h"
|
| @@ -56,11 +57,13 @@
|
| socket_stream_dispatcher_.reset(new SocketStreamDispatcher());
|
| file_system_dispatcher_.reset(new FileSystemDispatcher());
|
| quota_dispatcher_.reset(new QuotaDispatcher());
|
| + histogram_message_filter_ = new ChildHistogramMessageFilter();
|
|
|
| sync_message_filter_ =
|
| new IPC::SyncMessageFilter(ChildProcess::current()->GetShutDownEvent());
|
| channel_->AddFilter(sync_message_filter_.get());
|
| channel_->AddFilter(new ChildTraceMessageFilter());
|
| + channel_->AddFilter(histogram_message_filter_);
|
| }
|
|
|
| ChildThread::~ChildThread() {
|
|
|