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

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

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
Index: content/public/common/sandboxed_process_launcher_delegate.cc
diff --git a/content/public/common/sandboxed_process_launcher_delegate.cc b/content/public/common/sandboxed_process_launcher_delegate.cc
index 6dc1933980db278b380de15ac958a343cbc513c8..217213d74fa1a4c74f2903ef8cd3a034e55b6afd 100644
--- a/content/public/common/sandboxed_process_launcher_delegate.cc
+++ b/content/public/common/sandboxed_process_launcher_delegate.cc
@@ -7,21 +7,28 @@
namespace content {
#if defined(OS_WIN)
- bool SandboxedProcessLauncherDelegate::ShouldLaunchElevated() {
- return false;
- }
+bool SandboxedProcessLauncherDelegate::ShouldLaunchElevated() {
+ return false;
+}
- bool SandboxedProcessLauncherDelegate::ShouldSandbox() {
- return true;
- }
+bool SandboxedProcessLauncherDelegate::ShouldSandbox() {
+ return true;
+}
#elif(OS_POSIX)
- bool SandboxedProcessLauncherDelegate::ShouldUseZygote() {
- return false;
- }
+bool SandboxedProcessLauncherDelegate::ShouldUseZygote() {
+ return false;
+}
+
+base::EnvironmentMap SandboxedProcessLauncherDelegate::GetEnvironment() {
+ return base::EnvironmentMap();
+}
+
+#if defined(OS_MACOSX)
+int SandboxedProcessLauncherDelegate::GetSandboxType() {
+ return -1;
+}
+#endif
- base::EnvironmentMap SandboxedProcessLauncherDelegate::GetEnvironment() {
- return base::EnvironmentMap();
- }
#endif
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698