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

Unified Diff: headless/lib/headless_content_main_delegate.cc

Issue 2762593002: Add --headless flag to Windows (Closed)
Patch Set: readded headless_lib target Created 3 years, 9 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
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 561f14be35cfa75812c88ee6cc6c9c45f652ab62..3cd0cd1e5df81731af68c18943737dd52c69638d 100644
--- a/headless/lib/headless_content_main_delegate.cc
+++ b/headless/lib/headless_content_main_delegate.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <utility>
Sami 2017/03/27 14:07:58 This should go in a new block after "headless_cont
dvallet 2017/03/28 02:35:59 Done.
+
#include "headless/lib/headless_content_main_delegate.h"
#include "base/base_switches.h"
@@ -156,7 +158,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
g_headless_crash_client.Pointer()->set_crash_dumps_dir(
browser_->options()->crash_dumps_dir);
-#if !defined(OS_MACOSX)
+#if defined(OS_LINUX)
if (!browser_->options()->enable_crash_reporter) {
DCHECK(!breakpad::IsCrashReporterEnabled());
return;
@@ -165,7 +167,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
if (process_type != switches::kZygoteProcess)
breakpad::InitCrashReporter(process_type);
#endif // defined(HEADLESS_USE_BREAKPAD)
-#endif // !defined(OS_MACOSX)
+#endif // defined(OS_LINUX)
}
void HeadlessContentMainDelegate::PreSandboxStartup() {

Powered by Google App Engine
This is Rietveld 408576698