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

Unified Diff: components/nacl/loader/nacl_listener.h

Issue 216603002: Tell nacl_helper to use non SFI mode in HandleForkRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: components/nacl/loader/nacl_listener.h
diff --git a/components/nacl/loader/nacl_listener.h b/components/nacl/loader/nacl_listener.h
index 7fd02977c63ed46aaca2b5781cf730814ba3f2ac..48e8c11cb246091ee03db65a7d3ad707e4ce8ee1 100644
--- a/components/nacl/loader/nacl_listener.h
+++ b/components/nacl/loader/nacl_listener.h
@@ -31,6 +31,9 @@ class NaClListener : public IPC::Listener {
bool Send(IPC::Message* msg);
#if defined(OS_LINUX)
+ void set_uses_nonsfi_mode(bool uses_nonsfi_mode) {
+ uses_nonsfi_mode_ = uses_nonsfi_mode;
+ }
void set_prereserved_sandbox_size(size_t prereserved_sandbox_size) {
prereserved_sandbox_size_ = prereserved_sandbox_size;
}
@@ -55,6 +58,7 @@ class NaClListener : public IPC::Listener {
base::Thread io_thread_;
#if defined(OS_LINUX)
+ bool uses_nonsfi_mode_;
size_t prereserved_sandbox_size_;
#endif
#if defined(OS_POSIX)

Powered by Google App Engine
This is Rietveld 408576698