| Index: headless/lib/headless_content_main_delegate.cc
|
| diff --git a/headless/lib/headless_content_main_delegate.cc b/headless/lib/headless_content_main_delegate.cc
|
| index e5ae9ec9d7ccce0f23546d937269f1a61d6ef9ce..1f78e9f6dd6368d0ca19c4d19ad343472d234483 100644
|
| --- a/headless/lib/headless_content_main_delegate.cc
|
| +++ b/headless/lib/headless_content_main_delegate.cc
|
| @@ -36,7 +36,7 @@
|
| #include "headless/lib/renderer/headless_content_renderer_client.h"
|
| #endif
|
|
|
| -#if defined(OS_MACOSX)
|
| +#if defined(OS_MACOSX) || defined(OS_WIN)
|
| #include "components/crash/content/app/crashpad.h"
|
| #endif
|
|
|
| @@ -177,8 +177,10 @@ void HeadlessContentMainDelegate::InitCrashReporter(
|
| if (process_type != switches::kZygoteProcess)
|
| breakpad::InitCrashReporter(process_type);
|
| #elif defined(OS_MACOSX)
|
| - const bool browser_process = process_type.empty();
|
| - crash_reporter::InitializeCrashpad(browser_process, process_type);
|
| + crash_reporter::InitializeCrashpad(process_type.empty(), process_type);
|
| +#elif defined(OS_WIN)
|
| + crash_reporter::InitializeCrashpadWithEmbeddedHandler(process_type.empty(),
|
| + process_type);
|
| #endif // defined(HEADLESS_USE_BREAKPAD)
|
| }
|
|
|
|
|