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

Unified Diff: content/browser/child_process_launcher_helper.h

Issue 2931173003: Implement the V2 sandbox in the process launcher. (Closed)
Patch Set: Created 3 years, 6 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/browser/child_process_launcher_helper.h
diff --git a/content/browser/child_process_launcher_helper.h b/content/browser/child_process_launcher_helper.h
index 8a48dbebaed49a4f4b7092a11d1994d3ba35eb0e..c68e0a52f8b497d33307f28651d34f7ca239c5bd 100644
--- a/content/browser/child_process_launcher_helper.h
+++ b/content/browser/child_process_launcher_helper.h
@@ -32,6 +32,10 @@
#include "content/public/common/zygote_handle.h"
#endif
+#if defined(OS_MACOSX)
+#include "sandbox/mac/seatbelt_exec.h"
+#endif
+
namespace base {
class CommandLine;
}
@@ -198,6 +202,10 @@ class ChildProcessLauncherHelper :
mojo::edk::ScopedPlatformHandle mojo_server_handle_;
bool terminate_on_shutdown_;
+#if defined(OS_MACOSX)
+ std::unique_ptr<sandbox::SeatbeltExecClient> seatbelt_exec_client_;
+#endif // defined(OS_MACOSX)
+
#if defined(OS_ANDROID)
base::android::ScopedJavaGlobalRef<jobject> java_peer_;
#endif

Powered by Google App Engine
This is Rietveld 408576698