| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index ba0054d32ec2631571a31778a84a68665796b179..4deefc3584464b5bd9c8f5ef5712dc9b80d49871 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -86,6 +86,7 @@
|
| #include "content/browser/storage_partition_impl.h"
|
| #include "content/browser/speech/input_tag_speech_dispatcher_host.h"
|
| #include "content/browser/speech/speech_recognition_dispatcher_host.h"
|
| +#include "content/browser/stats_collection_message_filter.h"
|
| #include "content/browser/tracing/trace_message_filter.h"
|
| #include "content/browser/webui/web_ui_controller_factory_registry.h"
|
| #include "content/browser/worker_host/worker_storage_partition.h"
|
| @@ -609,6 +610,11 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| channel_->AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER));
|
| channel_->AddFilter(new HistogramMessageFilter());
|
| channel_->AddFilter(new HyphenatorMessageFilter(this));
|
| +
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDomAutomationController)) {
|
| + channel_->AddFilter(new StatsCollectionMessageFilter());
|
| + }
|
| }
|
|
|
| int RenderProcessHostImpl::GetNextRoutingID() {
|
|
|