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

Unified Diff: content/browser/renderer_host/render_sandbox_host_linux.h

Issue 261783008: Revert of Make SandboxIPCProcess a thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/browser/memory_details.cc ('k') | content/browser/renderer_host/render_sandbox_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_sandbox_host_linux.h
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.h b/content/browser/renderer_host/render_sandbox_host_linux.h
index 6c88dcc6a90cc632a165dd82cff4d040f7a8a331..2c5df388bd29f84540d179947420c4ca22158efc 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.h
+++ b/content/browser/renderer_host/render_sandbox_host_linux.h
@@ -8,9 +8,6 @@
#include <string>
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/threading/simple_thread.h"
-#include "content/browser/renderer_host/sandbox_ipc_linux.h"
#include "content/common/content_export.h"
template <typename T> struct DefaultSingletonTraits;
@@ -30,6 +27,10 @@
DCHECK(initialized_);
return renderer_socket_;
}
+ pid_t pid() const {
+ DCHECK(initialized_);
+ return pid_;
+ }
void Init(const std::string& sandbox_path);
private:
@@ -42,9 +43,8 @@
bool initialized_;
int renderer_socket_;
-
- scoped_ptr<SandboxIPCHandler> ipc_handler_;
- scoped_ptr<base::DelegateSimpleThread> ipc_thread_;
+ int childs_lifeline_fd_;
+ pid_t pid_;
DISALLOW_COPY_AND_ASSIGN(RenderSandboxHostLinux);
};
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | content/browser/renderer_host/render_sandbox_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698