| 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 2c2bd18cc28940c3ec945dd1eaae7f5fe842742c..8a96065ac2ed992c935a7fb205c4687da46be112 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -378,6 +378,10 @@
|
| #include "chrome/browser/media/cast_remoting_connector.h"
|
| #endif
|
|
|
| +#if BUILDFLAG(ENABLE_PRINTING)
|
| +#include "components/printing/service/public/interfaces/pdf_compositor.mojom.h"
|
| +#endif
|
| +
|
| #if BUILDFLAG(ENABLE_WAYLAND_SERVER)
|
| #include "chrome/browser/chrome_browser_main_extra_parts_exo.h"
|
| #endif
|
| @@ -3282,6 +3286,12 @@ void ChromeContentBrowserClient::RegisterOutOfProcessServices(
|
| services->insert(std::make_pair("media",
|
| base::ASCIIToUTF16("Media Service")));
|
| #endif
|
| +
|
| +#if BUILDFLAG(ENABLE_PRINTING)
|
| + services->insert(
|
| + std::make_pair(printing::mojom::kServiceName,
|
| + base::ASCIIToUTF16("PDF Compositor Service")));
|
| +#endif
|
| }
|
|
|
| std::unique_ptr<base::Value>
|
| @@ -3317,6 +3327,9 @@ ChromeContentBrowserClient::GetExtraServiceManifests() {
|
| {nacl::kNaClBrokerServiceName, IDR_NACL_BROKER_MANIFEST},
|
| #endif // defined(OS_WIN)
|
| #endif // !defined(DISABLE_NACL)
|
| +#if BUILDFLAG(ENABLE_PRINTING)
|
| + {printing::mojom::kServiceName, IDR_PDF_COMPOSITOR_MANIFEST},
|
| +#endif
|
| });
|
| }
|
|
|
|
|