Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index cb27994b8fdcd829186db4620c494a8624350bfc..e83f3236d46d872933c179327c2c7f49e1774ed6 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -55,6 +55,7 @@ |
#include "chrome/app/close_handle_hook_win.h" |
#include "chrome/common/child_process_logging.h" |
#include "chrome/common/v8_breakpad_support_win.h" |
+#include "components/crash/content/app/crashpad.h" |
#include "sandbox/win/src/sandbox.h" |
#include "ui/base/resource/resource_bundle_win.h" |
#endif |
@@ -64,7 +65,7 @@ |
#include "chrome/app/chrome_main_mac.h" |
#include "chrome/browser/mac/relauncher.h" |
#include "chrome/common/mac/cfbundle_blocker.h" |
-#include "components/crash/content/app/crashpad_mac.h" |
+#include "components/crash/content/app/crashpad.h" |
#include "components/crash/core/common/objc_zombie.h" |
#include "ui/base/l10n/l10n_util_mac.h" |
#endif |
@@ -448,7 +449,6 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exit_code) { |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |
- |
#if defined(OS_WIN) |
// Browser should not be sandboxed. |
const bool is_browser = !command_line.HasSwitch(switches::kProcessType); |
@@ -498,7 +498,9 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exit_code) { |
InstallHandleHooks(); |
#endif |
+#if defined(OS_WIN) && !defined(COMPONENT_BUILD) |
chrome::RegisterPathProvider(); |
+#endif |
#if defined(OS_CHROMEOS) |
chromeos::RegisterPathProvider(); |
#endif |