Index: content/public/common/child_process_host.h |
diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h |
index c8abedebd8b15a7e95b7b1e98c8be159984ad41e..d5b0e69394e045936a5ffbf718235da4f5d986c9 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 |
}; |