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

Unified Diff: content/browser/zygote_host/zygote_communication_linux.cc

Issue 1991953002: Implement a runtime headless mode for Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 1 month 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: content/browser/zygote_host/zygote_communication_linux.cc
diff --git a/content/browser/zygote_host/zygote_communication_linux.cc b/content/browser/zygote_host/zygote_communication_linux.cc
index c72bdaf3f5f153de8e22cd56484f089611959d05..f2f7da617e86b65e56affbe018abe153320361a5 100644
--- a/content/browser/zygote_host/zygote_communication_linux.cc
+++ b/content/browser/zygote_host/zygote_communication_linux.cc
@@ -249,9 +249,9 @@ void ZygoteCommunication::Init() {
// Should this list be obtained from browser_render_process_host.cc?
static const char* const kForwardSwitches[] = {
switches::kAllowSandboxDebugging, switches::kAndroidFontsPath,
- switches::kDisableSeccompFilterSandbox,
- switches::kEnableHeapProfiling,
+ switches::kDisableSeccompFilterSandbox, switches::kEnableHeapProfiling,
switches::kEnableLogging, // Support, e.g., --enable-logging=stderr.
+ switches::kHeadless,
// Zygote process needs to know what resources to have loaded when it
// becomes a renderer process.
switches::kForceDeviceScaleFactor, switches::kLoggingLevel,

Powered by Google App Engine
This is Rietveld 408576698