| 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 78e9939d38cc003068921a9791fd538180182f71..00b10dfc8087c90355cd9a0f0bb02628a31e9544 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -19,7 +19,7 @@
|
| #include "chrome/browser/browsing_data/browsing_data_helper.h"
|
| #include "chrome/browser/browsing_data/browsing_data_remover.h"
|
| #include "chrome/browser/character_encoding.h"
|
| -#include "chrome/browser/chrome_benchmarking_message_filter.h"
|
| +#include "chrome/browser/chrome_net_benchmarking_message_filter.h"
|
| #include "chrome/browser/chrome_quota_permission_context.h"
|
| #include "chrome/browser/content_settings/content_settings_utils.h"
|
| #include "chrome/browser/content_settings/cookie_settings.h"
|
| @@ -691,8 +691,11 @@ void ChromeContentBrowserClient::RenderProcessHostCreated(
|
| content::RenderProcessHost* host) {
|
| int id = host->GetID();
|
| Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext());
|
| + net::URLRequestContextGetter* context =
|
| + profile->GetRequestContextForRenderProcess(id);
|
| +
|
| host->GetChannel()->AddFilter(new ChromeRenderMessageFilter(
|
| - id, profile, profile->GetRequestContextForRenderProcess(id)));
|
| + id, profile, context));
|
| #if defined(ENABLE_PLUGINS)
|
| host->GetChannel()->AddFilter(new PluginInfoMessageFilter(id, profile));
|
| #endif
|
| @@ -705,8 +708,8 @@ void ChromeContentBrowserClient::RenderProcessHostCreated(
|
| #if defined(OS_MACOSX)
|
| host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac());
|
| #endif
|
| - host->GetChannel()->AddFilter(new ChromeBenchmarkingMessageFilter(
|
| - id, profile, profile->GetRequestContextForRenderProcess(id)));
|
| + host->GetChannel()->AddFilter(new ChromeNetBenchmarkingMessageFilter(
|
| + id, profile, context));
|
| host->GetChannel()->AddFilter(
|
| new prerender::PrerenderMessageFilter(id, profile));
|
|
|
|
|