Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index e1d18627a3c4f59c70463e7cb3f24add15c4cd68..b792df246f464bc83f2ea7ae1b21465b88163ad9 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -97,6 +97,7 @@ |
#include "components/google/core/browser/google_util.h" |
#include "components/metrics/client_info.h" |
#include "components/pref_registry/pref_registry_syncable.h" |
+#include "components/rappor/rappor_message_filter.h" |
#include "components/rappor/rappor_utils.h" |
#include "components/signin/core/common/profile_management_switches.h" |
#include "components/translate/core/common/translate_switches.h" |
@@ -836,6 +837,8 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch( |
DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile); |
host->AddFilter(new data_reduction_proxy::DataReductionProxyMessageFilter( |
data_reduction_proxy_settings)); |
+ host->AddFilter(new rappor::RapporMessageFilter( |
+ g_browser_process->rappor_service())); |
host->Send(new ChromeViewMsg_SetIsIncognitoProcess( |
profile->IsOffTheRecord())); |