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

Unified Diff: content/public/common/zygote_fork_delegate_linux.h

Issue 897723005: Allow using the namespace sandbox in zygote host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add back the flag check. Created 5 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
Index: content/public/common/zygote_fork_delegate_linux.h
diff --git a/content/public/common/zygote_fork_delegate_linux.h b/content/public/common/zygote_fork_delegate_linux.h
index 2f2f0b2a55c0defdfe72ce10a33eb85f240501d4..2308d4ef4d6be553cf575ddb0a43ab6b451abbe1 100644
--- a/content/public/common/zygote_fork_delegate_linux.h
+++ b/content/public/common/zygote_fork_delegate_linux.h
@@ -27,11 +27,9 @@ class ZygoteForkDelegate {
// as an argument to ZygoteMain().
virtual ~ZygoteForkDelegate() {}
- // Initialization happens in the zygote after it has been
- // started by ZygoteMain.
- // If |enable_layer1_sandbox| is true, the delegate must enable a
- // layer-1 sandbox such as the setuid sandbox.
- virtual void Init(int sandboxdesc, bool enable_layer1_sandbox) = 0;
+ // Initialization happens in the zygote after it has been started by
+ // ZygoteMain.
+ virtual void Init(int sandboxdesc) = 0;
// After Init, supply a UMA_HISTOGRAM_ENUMERATION the delegate would like
// reported to the browser process. (Note: Because these reports are

Powered by Google App Engine
This is Rietveld 408576698