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 ee71f090d4b6b44727ec0f36680f9249262225b4..d176567bd55bc776fc1ca104b68245f6e3bfe484 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -47,6 +47,7 @@ |
#include "chrome/browser/prefs/scoped_user_pref_update.h" |
#include "chrome/browser/prerender/prerender_manager.h" |
#include "chrome/browser/prerender/prerender_manager_factory.h" |
+#include "chrome/browser/prerender/prerender_message_filter.h" |
#include "chrome/browser/prerender/prerender_tracker.h" |
#include "chrome/browser/printing/printing_message_filter.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -411,6 +412,8 @@ void ChromeContentBrowserClient::RenderProcessHostCreated( |
#endif |
host->GetChannel()->AddFilter(new ChromeBenchmarkingMessageFilter( |
id, profile, profile->GetRequestContextForRenderProcess(id))); |
+ host->GetChannel()->AddFilter( |
+ new prerender::PrerenderMessageFilter(id, profile)); |
host->Send(new ChromeViewMsg_SetIsIncognitoProcess( |
profile->IsOffTheRecord())); |