Index: chromecast/browser/cast_content_browser_client.cc |
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc |
index cf572382880c1ae2c369b4f03f7f2cac17e1c775..554e987da823469a942fff311032c354ba6c2b3a 100644 |
--- a/chromecast/browser/cast_content_browser_client.cc |
+++ b/chromecast/browser/cast_content_browser_client.cc |
@@ -18,6 +18,7 @@ |
#include "chromecast/common/cast_paths.h" |
#include "chromecast/common/global_descriptors.h" |
#include "components/crash/app/breakpad_linux.h" |
+#include "components/dns_prefetch/browser/net_message_filter.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/certificate_request_result_type.h" |
#include "content/public/browser/render_process_host.h" |
@@ -57,6 +58,9 @@ content::BrowserMainParts* CastContentBrowserClient::CreateBrowserMainParts( |
void CastContentBrowserClient::RenderProcessWillLaunch( |
content::RenderProcessHost* host) { |
+ scoped_refptr<content::BrowserMessageFilter> net_message_filter( |
+ new dns_prefetch::NetMessageFilter( |
+ url_request_context_factory_->host_resolver())); |
lcwu1
2014/12/06 02:01:33
You will need to add net_message_filter to the Ren
gunsch
2014/12/08 17:41:56
Done.
|
} |
net::URLRequestContextGetter* CastContentBrowserClient::CreateRequestContext( |