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

Unified Diff: content/public/common/sandboxed_process_launcher_delegate.h

Issue 303293002: Initialize the bootstrap sandbox in the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge bootstrap-child-proc branch 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/common/sandboxed_process_launcher_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/sandboxed_process_launcher_delegate.h
diff --git a/content/public/common/sandboxed_process_launcher_delegate.h b/content/public/common/sandboxed_process_launcher_delegate.h
index 9dd45ad3f1aa3db07fbe191fb34a0366568fe569..ec8eb0e3d6f8b8f0a2dfd968e91f1768e0b1481e 100644
--- a/content/public/common/sandboxed_process_launcher_delegate.h
+++ b/content/public/common/sandboxed_process_launcher_delegate.h
@@ -62,6 +62,12 @@ class CONTENT_EXPORT SandboxedProcessLauncherDelegate {
// Return the file descriptor for the IPC channel.
virtual int GetIpcFd() = 0;
+#if defined(OS_MACOSX)
+ // Gets the Mac SandboxType to enforce on the process. Return -1 for no
Mark Mentovai 2014/05/30 21:01:13 What’s a SandboxType? It’s just a registered polic
Robert Sesek 2014/05/30 21:05:11 Yes, it is: https://code.google.com/p/chromium/co
jam 2014/05/30 21:11:55 can this be SandboxType instead of "int" then?
Robert Sesek 2014/05/30 21:17:35 Yeah, if I add an INVALID enum value. Done.
+ // sandbox policy.
+ virtual int GetSandboxType();
+#endif
+
#endif
};
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/common/sandboxed_process_launcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698