X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Fpublic%2Fcommon%2Fchild_process_host.h;h=cd9ed56ab58c3132ded9e1f070782030f46a031f;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=c8abedebd8b15a7e95b7b1e98c8be159984ad41e;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/public/common/child_process_host.h b/src/content/public/common/child_process_host.h index c8abede..cd9ed56 100644 --- a/src/content/public/common/child_process_host.h +++ b/src/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" @@ -26,7 +27,7 @@ class ChildProcessHostDelegate; // processes that run independent of the browser process. class CONTENT_EXPORT ChildProcessHost : public IPC::Sender { public: - virtual ~ChildProcessHost() {} + ~ChildProcessHost() override {} // This is a value never returned as the unique id of any child processes of // any kind, including the values returned by RenderProcessHost::GetID(). @@ -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 };