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

Unified Diff: components/nacl/zygote/nacl_fork_delegate_linux.h

Issue 279693002: Split NaCl SFI and non-SFI helpers into separate processes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops, forgot to "git add" new files Created 6 years, 7 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: components/nacl/zygote/nacl_fork_delegate_linux.h
diff --git a/components/nacl/zygote/nacl_fork_delegate_linux.h b/components/nacl/zygote/nacl_fork_delegate_linux.h
index 4cc105c728903876f1b215b1e4c114cfc3fde6bd..0e467b29e41f7871a95f657289e24d6b5dbd2174 100644
--- a/components/nacl/zygote/nacl_fork_delegate_linux.h
+++ b/components/nacl/zygote/nacl_fork_delegate_linux.h
@@ -19,7 +19,7 @@
// A new delegate is passed in as an argument to ZygoteMain().
class NaClForkDelegate : public content::ZygoteForkDelegate {
public:
- NaClForkDelegate();
+ NaClForkDelegate(bool nonsfi_mode);
virtual ~NaClForkDelegate();
virtual void Init(int sandboxdesc, bool enable_layer1_sandbox) OVERRIDE;
@@ -49,6 +49,7 @@ class NaClForkDelegate : public content::ZygoteForkDelegate {
kNaClHelperStatusBoundary // Must be one greater than highest value used.
};
+ const bool nonsfi_mode_;
NaClHelperStatus status_;
int fd_;
};

Powered by Google App Engine
This is Rietveld 408576698