| Index: chrome/utility/chrome_content_utility_client.cc
|
| diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
|
| index f364d63992ea5f5cd642a0e8fab97fb3f2cc6c30..9eba6990ce874dc1f15b37e7049f6fa31ea92af2 100644
|
| --- a/chrome/utility/chrome_content_utility_client.cc
|
| +++ b/chrome/utility/chrome_content_utility_client.cc
|
| @@ -118,11 +118,6 @@ ChromeContentUtilityClient::ChromeContentUtilityClient()
|
| handlers_.push_back(new image_writer::ImageWriterHandler());
|
| #endif
|
|
|
| -#if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \
|
| - (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN))
|
| - handlers_.push_back(new printing::PrintingHandler());
|
| -#endif
|
| -
|
| #if defined(OS_WIN)
|
| handlers_.push_back(new IPCShellHandler());
|
| #endif
|
| @@ -211,6 +206,10 @@ void ChromeContentUtilityClient::ExposeInterfacesToBrowser(
|
| #if defined(OS_WIN)
|
| registry->AddInterface(base::Bind(&ShellHandlerImpl::Create));
|
| #endif
|
| +#if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \
|
| + (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN))
|
| + registry->AddInterface(base::Bind(&printing::PrintingHandler::Create));
|
| +#endif
|
| }
|
|
|
| void ChromeContentUtilityClient::RegisterServices(StaticServiceMap* services) {
|
|
|