| 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 a1ccbf6dc3838771d6937e222359091f6caad7c8..f9f27c65f57d89818baec4bbf779697d57265599 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -87,6 +87,7 @@
|
| #include "content/browser/resolve_proxy_msg_helper.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/storage_partition_impl.h"
|
| #include "content/browser/tracing/trace_message_filter.h"
|
| #include "content/browser/webui/web_ui_controller_factory_registry.h"
|
| @@ -670,6 +671,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::kStatsCollectionExtension)) {
|
| + channel_->AddFilter(new StatsCollectionMessageFilter());
|
| + }
|
| }
|
|
|
| int RenderProcessHostImpl::GetNextRoutingID() {
|
| @@ -813,6 +819,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
| #endif
|
| switches::kDisableWebSockets,
|
| switches::kDomAutomationController,
|
| + switches::kStatsCollectionExtension,
|
| switches::kEnableAccessibilityLogging,
|
| switches::kEnableBrowserPluginForAllViewTypes,
|
| switches::kEnableDCHECK,
|
|
|