| 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 2350b171bc7dce05f9fa8beb3d0a2849f3887ffa..097fdd30d44bbda06ac6ae0cfe67316877233fb0 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -76,6 +76,8 @@
|
| #include "chrome/browser/ui/blocked_content/blocked_window_params.h"
|
| #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h"
|
| #include "chrome/browser/ui/chrome_select_file_policy.h"
|
| +#include "chrome/browser/ui/search/new_tab_page_interceptor_service.h"
|
| +#include "chrome/browser/ui/search/new_tab_page_interceptor_service_factory.h"
|
| #include "chrome/browser/ui/sync/sync_promo_ui.h"
|
| #include "chrome/browser/ui/tab_contents/chrome_web_contents_view_delegate.h"
|
| #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
|
| @@ -974,6 +976,10 @@ ChromeContentBrowserClient::CreateRequestContext(
|
| content::ProtocolHandlerMap* protocol_handlers,
|
| content::URLRequestInterceptorScopedVector request_interceptors) {
|
| Profile* profile = Profile::FromBrowserContext(browser_context);
|
| + NewTabPageInterceptorService* service =
|
| + NewTabPageInterceptorServiceFactory::GetForProfile(profile);
|
| + if (service)
|
| + request_interceptors.push_back(service->CreateInterceptor().release());
|
| return profile->CreateRequestContext(protocol_handlers,
|
| request_interceptors.Pass());
|
| }
|
|
|