Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2976)

Unified Diff: headless/lib/headless_content_main_delegate.cc

Issue 2624343002: Get headless_shell building on Windows. (Closed)
Patch Set: Remove headless_shell addition to chrome windows build Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« headless/lib/browser/DEPS ('K') | « headless/lib/browser/headless_browser_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 72df5a29a65a3adaa86b5a24e36bdc028f8dce92..695821c779ec568b4014fdec900a60ec56babb7d 100644
--- a/headless/lib/headless_content_main_delegate.cc
+++ b/headless/lib/headless_content_main_delegate.cc
@@ -211,7 +211,9 @@ void HeadlessContentMainDelegate::ZygoteForked() {
// Unconditionally try to turn on crash reporting since we do not have access
// to the latest browser options at this point when testing. Breakpad will
// bail out gracefully if the browser process hasn't enabled crash reporting.
+#if defined(HEADLESS_USE_BREAKPAD)
breakpad::InitCrashReporter(process_type);
+#endif
}
#endif
« headless/lib/browser/DEPS ('K') | « headless/lib/browser/headless_browser_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698