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

Unified Diff: content/browser/ppapi_plugin_process_host.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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ppapi_plugin_process_host.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 19d434485e9ccef46093d1e6ac4db6f951192dc6..73ead7591efa9c53673ebcaaf4b769d0ba44e260 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -65,9 +65,9 @@ class PpapiPluginSandboxedProcessLauncherDelegate
#if defined(OS_WIN)
: info_(info), is_broker_(is_broker) {
#elif defined(OS_MACOSX) || defined(OS_ANDROID)
- : ipc_fd_(host->TakeClientFileDescriptor()) {
+ : {
#elif defined(OS_POSIX)
- : ipc_fd_(host->TakeClientFileDescriptor()), is_broker_(is_broker) {
+ : is_broker_(is_broker) {
#else
{
#endif
@@ -130,7 +130,6 @@ class PpapiPluginSandboxedProcessLauncherDelegate
}
#endif // !defined(OS_MACOSX) && !defined(OS_ANDROID)
- base::ScopedFD TakeIpcFd() override { return std::move(ipc_fd_); }
#endif // OS_WIN
SandboxType GetSandboxType() override {
@@ -142,7 +141,6 @@ class PpapiPluginSandboxedProcessLauncherDelegate
const PepperPluginInfo& info_;
#endif // OS_WIN
#if defined(OS_POSIX)
- base::ScopedFD ipc_fd_;
#endif // OS_POSIX
#if (defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)) || \
defined(OS_WIN)
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698