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

Unified Diff: content/browser/utility_process_host_impl.cc

Issue 2164883003: Delete SandboxedProcessLauncherDelegate::TakeIpcFd. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ppapi-channel-mojo
Patch Set: Created 4 years, 5 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/utility_process_host_impl.cc
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc
index 64c7888620af616bf567dfb521d34b1bc6eda4e0..5739ad558475635f602c7bf420e10b32aba1838e 100644
--- a/content/browser/utility_process_host_impl.cc
+++ b/content/browser/utility_process_host_impl.cc
@@ -76,11 +76,10 @@ class UtilitySandboxedProcessLauncherDelegate
#if defined(OS_WIN)
launch_elevated_(launch_elevated)
#elif defined(OS_POSIX)
- env_(env),
+ env_(env)
#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
- no_sandbox_(no_sandbox),
+ , no_sandbox_(no_sandbox)
#endif // !defined(OS_MACOSX) && !defined(OS_ANDROID)
- ipc_fd_(host->TakeClientFileDescriptor())
#endif // OS_WIN
{}
@@ -117,7 +116,6 @@ class UtilitySandboxedProcessLauncherDelegate
}
#endif // !defined(OS_MACOSX) && !defined(OS_ANDROID)
base::EnvironmentMap GetEnvironment() override { return env_; }
- base::ScopedFD TakeIpcFd() override { return std::move(ipc_fd_); }
#endif // OS_WIN
SandboxType GetSandboxType() override {
@@ -134,7 +132,6 @@ class UtilitySandboxedProcessLauncherDelegate
#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
bool no_sandbox_;
#endif // !defined(OS_MACOSX) && !defined(OS_ANDROID)
- base::ScopedFD ipc_fd_;
#endif // OS_WIN
};
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/sandboxed_process_launcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698