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

Unified Diff: chrome/app/nacl_fork_delegate_linux.cc

Issue 11819022: NaCl: Remove unused "sandboxed_" field and argument from NaClForkDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/app/nacl_fork_delegate_linux.h ('k') | content/public/common/zygote_fork_delegate_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/nacl_fork_delegate_linux.cc
diff --git a/chrome/app/nacl_fork_delegate_linux.cc b/chrome/app/nacl_fork_delegate_linux.cc
index 69514bd00b4376715982e25edbbacd7105897d88..97465c4da29ea6145a9b95af7b968963679912d6 100644
--- a/chrome/app/nacl_fork_delegate_linux.cc
+++ b/chrome/app/nacl_fork_delegate_linux.cc
@@ -26,7 +26,6 @@
NaClForkDelegate::NaClForkDelegate()
: status_(kNaClHelperUnused),
- sandboxed_(false),
fd_(-1) {}
/*
@@ -37,13 +36,10 @@ const char kNaClHelperReservedAtZero[] =
"--reserved_at_zero=0xXXXXXXXXXXXXXXXX";
const char kNaClHelperRDebug[] = "--r_debug=0xXXXXXXXXXXXXXXXX";
-void NaClForkDelegate::Init(const bool sandboxed,
- const int browserdesc,
- const int sandboxdesc) {
+void NaClForkDelegate::Init(const int browserdesc, const int sandboxdesc) {
VLOG(1) << "NaClForkDelegate::Init()";
int fds[2];
- sandboxed_ = sandboxed;
// Confirm a couple hard-wired assumptions.
// The NaCl constants are from chrome/nacl/nacl_linux_helper.h
DCHECK(kNaClBrowserDescriptor == browserdesc);
« no previous file with comments | « chrome/app/nacl_fork_delegate_linux.h ('k') | content/public/common/zygote_fork_delegate_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698