| 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 f95ceadf3fa977e555000d5a31af82ab7574b0df..12a46b65f25de09be2bcc7ec055ce3f31e5af23e 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) {
|
|
|