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

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: Rename constant Created 6 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
« no previous file with comments | « content/public/common/sandboxed_process_launcher_delegate.h ('k') | sandbox/mac/bootstrap_sandbox.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.cc
diff --git a/content/public/common/sandboxed_process_launcher_delegate.cc b/content/public/common/sandboxed_process_launcher_delegate.cc
index 6dc1933980db278b380de15ac958a343cbc513c8..b961c3ef9edc6001394a2487b53a84baafbeb933 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)
+SandboxType SandboxedProcessLauncherDelegate::GetSandboxType() {
+ return SANDBOX_TYPE_INVALID;
+}
+#endif
- base::EnvironmentMap SandboxedProcessLauncherDelegate::GetEnvironment() {
- return base::EnvironmentMap();
- }
#endif
} // namespace content
« no previous file with comments | « content/public/common/sandboxed_process_launcher_delegate.h ('k') | sandbox/mac/bootstrap_sandbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698