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

Issue 2384163002: Add a --no-zygote command line flag (Closed)

Created:
4 years, 2 months ago by Sami
Modified:
4 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a --no-zygote command line flag This patch adds a --no-zygote command line flag which can be used to completely disable the use of the zygote process. This is needed for running Headless Chrome in environments where maintaining a forking server such as the zygote is unnecessary and/or impractical. Note that on Linux the sandbox needs the zygote to work, so --no-sandbox must be used in conjunction with this new flag. BUG=546953 Committed: https://crrev.com/1964e861d7adb9107e8ca525464ae6e7d8f4dc5d Cr-Commit-Position: refs/heads/master@{#423152}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comments #

Total comments: 2

Patch Set 3 : DCHECK => CHECK #

Patch Set 4 : Better error message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M content/browser/browser_main_loop.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/child_process_launcher.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Sami
PTAL.
4 years, 2 months ago (2016-10-03 14:55:26 UTC) #3
Charlie Reis
content/ LGTM, but please get rickyz's approval just to be safe. https://codereview.chromium.org/2384163002/diff/1/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): ...
4 years, 2 months ago (2016-10-03 18:46:10 UTC) #10
Sami
On 2016/10/03 18:46:10, Charlie Reis wrote: > content/ LGTM, but please get rickyz's approval just ...
4 years, 2 months ago (2016-10-04 10:40:37 UTC) #11
rickyz (no longer on Chrome)
lgtm with nit - hopefully anyone running Chrome in this mode has some alternative sandboxing ...
4 years, 2 months ago (2016-10-04 20:00:32 UTC) #12
Sami
On 2016/10/04 20:00:32, rickyz wrote: > lgtm with nit - hopefully anyone running Chrome in ...
4 years, 2 months ago (2016-10-05 13:15:03 UTC) #13
Sami
https://codereview.chromium.org/2384163002/diff/20001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2384163002/diff/20001/content/browser/browser_main_loop.cc#newcode211 content/browser/browser_main_loop.cc:211: DCHECK(parsed_command_line.HasSwitch(switches::kNoSandbox)); On 2016/10/04 20:00:32, rickyz wrote: > Let's upgrade ...
4 years, 2 months ago (2016-10-05 13:15:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2384163002/60001
4 years, 2 months ago (2016-10-05 13:15:21 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-05 14:10:43 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 14:12:26 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1964e861d7adb9107e8ca525464ae6e7d8f4dc5d
Cr-Commit-Position: refs/heads/master@{#423152}

Powered by Google App Engine
This is Rietveld 408576698