summaryrefslogtreecommitdiffstats
path: root/content/public/common/child_process_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/common/child_process_host.h')
-rw-r--r--content/public/common/child_process_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h
index c8abede..d5b0e69 100644
--- a/content/public/common/child_process_host.h
+++ b/content/public/common/child_process_host.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_
#define CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_
+#include "base/files/scoped_file.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "ipc/ipc_channel_proxy.h"
@@ -98,7 +99,7 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
#if defined(OS_POSIX)
// See IPC::Channel::TakeClientFileDescriptor.
- virtual int TakeClientFileDescriptor() = 0;
+ virtual base::ScopedFD TakeClientFileDescriptor() = 0;
#endif
};