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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 177863002: Refactor configuration of sandboxes - first steps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to further review comments from jam@ Created 6 years, 10 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/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index c69e5db5a34811a07f415941b355fa527b4510e9..a17d8beb582dadf1d6ba7f070ab3fa3b46f96828 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -129,13 +129,7 @@ void BrowserChildProcessHostImpl::TerminateAll() {
}
void BrowserChildProcessHostImpl::Launch(
-#if defined(OS_WIN)
SandboxedProcessLauncherDelegate* delegate,
- bool launch_elevated,
-#elif defined(OS_POSIX)
- bool use_zygote,
- const base::EnvironmentMap& environ,
-#endif
CommandLine* cmd_line) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
@@ -162,14 +156,7 @@ void BrowserChildProcessHostImpl::Launch(
arraysize(kForwardSwitches));
child_process_.reset(new ChildProcessLauncher(
-#if defined(OS_WIN)
delegate,
- launch_elevated,
-#elif defined(OS_POSIX)
- use_zygote,
- environ,
- child_process_host_->TakeClientFileDescriptor(),
-#endif
cmd_line,
data_.id,
this));

Powered by Google App Engine
This is Rietveld 408576698