| Index: chrome/app/chrome_main_delegate.cc
|
| diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
|
| index 5dca056c6ca19e710d2b30a17f2048e35a7c49a9..70346c05534d974b0b5c12a3a02df09d28ebdf13 100644
|
| --- a/chrome/app/chrome_main_delegate.cc
|
| +++ b/chrome/app/chrome_main_delegate.cc
|
| @@ -119,6 +119,12 @@
|
| #include "remoting/client/plugin/pepper_entrypoints.h"
|
| #endif
|
|
|
| +#if defined(ENABLE_PLUGINS) && (defined(CHROME_MULTIPLE_DLL_CHILD) || \
|
| + !defined(CHROME_MULTIPLE_DLL_BROWSER))
|
| +#include "pdf/pdf.h"
|
| +#endif
|
| +
|
| +
|
| #if !defined(CHROME_MULTIPLE_DLL_CHILD)
|
| base::LazyInstance<chrome::ChromeContentBrowserClient>
|
| g_chrome_content_browser_client = LAZY_INSTANCE_INITIALIZER;
|
| @@ -822,6 +828,12 @@ void ChromeMainDelegate::SandboxInitialized(const std::string& process_type) {
|
| nacl_plugin::PPP_InitializeModule,
|
| nacl_plugin::PPP_ShutdownModule);
|
| #endif
|
| +#if defined(ENABLE_PLUGINS)
|
| + ChromeContentClient::SetPDFEntryFunctions(
|
| + chrome_pdf::PPP_GetInterface,
|
| + chrome_pdf::PPP_InitializeModule,
|
| + chrome_pdf::PPP_ShutdownModule);
|
| +#endif
|
| #endif
|
| }
|
|
|
|
|