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/public/common/sandboxed_process_launcher_delegate.cc

Issue 1617213002: Revert of Have each SandboxedProcessLauncherDelegate maintain a zygote. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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') | content/public/common/zygote_handle.h » ('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 5435816be6d268f9a285b5b4ea3fcb4a99c07b84..e0204c48e34e864f0a25eebc47a82921b3a9c867 100644
--- a/content/public/common/sandboxed_process_launcher_delegate.cc
+++ b/content/public/common/sandboxed_process_launcher_delegate.cc
@@ -26,11 +26,9 @@
}
#elif(OS_POSIX)
-#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
-ZygoteHandle* SandboxedProcessLauncherDelegate::GetZygote() {
- return nullptr;
+bool SandboxedProcessLauncherDelegate::ShouldUseZygote() {
+ return false;
}
-#endif // !defined(OS_MACOSX) && !defined(OS_ANDROID)
base::EnvironmentMap SandboxedProcessLauncherDelegate::GetEnvironment() {
return base::EnvironmentMap();
« no previous file with comments | « content/public/common/sandboxed_process_launcher_delegate.h ('k') | content/public/common/zygote_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698