| Index: chrome/browser/chrome_browser_main.cc
|
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
| index 6ab5340fc15c65e8b1683dcbaadd3f2439c3e8b8..968c34d5142646411f5637e5a0a64db25e0efe7c 100644
|
| --- a/chrome/browser/chrome_browser_main.cc
|
| +++ b/chrome/browser/chrome_browser_main.cc
|
| @@ -182,6 +182,10 @@
|
| #include "chrome/browser/mac/keystone_glue.h"
|
| #endif
|
|
|
| +#if !defined(OS_IOS)
|
| +#include "chrome/browser/ui/app_modal_dialogs/chrome_javascript_native_dialog_factory.h"
|
| +#endif
|
| +
|
| #if !defined(DISABLE_NACL)
|
| #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h"
|
| #include "components/nacl/browser/nacl_process_host.h"
|
| @@ -190,6 +194,7 @@
|
| #if defined(ENABLE_EXTENSIONS)
|
| #include "chrome/browser/extensions/startup_helper.h"
|
| #include "extensions/browser/extension_protocols.h"
|
| +#include "extensions/components/javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.h"
|
| #endif
|
|
|
| #if defined(ENABLE_FULL_PRINTING) && !defined(OFFICIAL_BUILD)
|
| @@ -1060,6 +1065,14 @@ void ChromeBrowserMainParts::PreProfileInit() {
|
| base::Bind(&ProfileManager::CleanUpStaleProfiles, profiles_to_delete));
|
| }
|
| #endif // OS_ANDROID
|
| +
|
| +#if defined(ENABLE_EXTENSIONS)
|
| + InstallJavaScriptDialogExtensionsClient();
|
| +#endif
|
| +
|
| +#if !defined(OS_IOS)
|
| + InstallChromeJavaScriptNativeDialogFactory();
|
| +#endif
|
| }
|
|
|
| void ChromeBrowserMainParts::PostProfileInit() {
|
|
|