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

Unified Diff: ipc/mojo/ipc_channel_mojo.h

Issue 621613002: Refactoring: Make IPC::Channel::TakeClientFileDescriptor() a ScopedFD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing Mac build Created 6 years, 2 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: ipc/mojo/ipc_channel_mojo.h
diff --git a/ipc/mojo/ipc_channel_mojo.h b/ipc/mojo/ipc_channel_mojo.h
index 696d744cd59a3c1cd41df38e98c68e588d1c5685..4752fabed99d49e8766c9b96e840ce9bbfb9aa90 100644
--- a/ipc/mojo/ipc_channel_mojo.h
+++ b/ipc/mojo/ipc_channel_mojo.h
@@ -98,7 +98,7 @@ class IPC_MOJO_EXPORT ChannelMojo : public Channel,
#if defined(OS_POSIX) && !defined(OS_NACL)
virtual int GetClientFileDescriptor() const override;
- virtual int TakeClientFileDescriptor() override;
+ virtual base::ScopedFD TakeClientFileDescriptor() override;
// These access protected API of IPC::Message, which has ChannelMojo
// as a friend class.
« no previous file with comments | « ipc/ipc_test_sink.cc ('k') | ipc/mojo/ipc_channel_mojo.cc » ('j') | ppapi/proxy/proxy_channel.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698