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

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

Issue 1415483008: Get rid of SandboxedProcessLauncherDelegate::PreSandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove curly braces Created 5 years, 1 month 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 22f892835c835f3ce7a56f7686bfc4cadb3ac2a6..59e577cc07eb1ded684498a4089b86f2ea30087c 100644
--- a/content/public/common/sandboxed_process_launcher_delegate.cc
+++ b/content/public/common/sandboxed_process_launcher_delegate.cc
@@ -15,6 +15,15 @@ bool SandboxedProcessLauncherDelegate::ShouldSandbox() {
return true;
}
+bool SandboxedProcessLauncherDelegate::DisableDefaultPolicy() {
+ return false;
+}
+
+bool SandboxedProcessLauncherDelegate::PreSpawnTarget(
+ sandbox::TargetPolicy* policy) {
+ return true;
+}
+
#elif(OS_POSIX)
bool SandboxedProcessLauncherDelegate::ShouldUseZygote() {
return false;
« no previous file with comments | « content/public/common/sandboxed_process_launcher_delegate.h ('k') | content/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698