Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index 5af118651a2aaa4c21d25a03237586d558a741d4..f99a9d54ff7def8840d32fd3acb85ac202e9b834 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -585,6 +585,13 @@ void ProfileImplIOData::InitializeInternal( |
scoped_ptr<net::URLRequestJobFactoryImpl> main_job_factory( |
new net::URLRequestJobFactoryImpl()); |
InstallProtocolHandlers(main_job_factory.get(), protocol_handlers); |
+ |
+ // Install the New Tab Page Interceptor. |
+ if (profile_params->new_tab_page_interceptor.get()) { |
+ request_interceptors.push_back( |
+ profile_params->new_tab_page_interceptor.release()); |
+ } |
mmenke
2015/01/30 15:21:10
Think this would make more sense in ProfileIOData:
Mathieu
2015/01/30 16:55:16
Done.
|
+ |
// The data reduction proxy interceptor should be as close to the network |
// as possible. |
request_interceptors.insert( |