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

Unified Diff: ipc/mojo/ipc_mojo_bootstrap.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_mojo_bootstrap.h
diff --git a/ipc/mojo/ipc_mojo_bootstrap.h b/ipc/mojo/ipc_mojo_bootstrap.h
index 4f4f9eedf1a0d189e7f0a22a23106be5dbfb23cb..540becfbd2b7ffb823eae69443cfa1d24458f5b4 100644
--- a/ipc/mojo/ipc_mojo_bootstrap.h
+++ b/ipc/mojo/ipc_mojo_bootstrap.h
@@ -51,7 +51,7 @@ class IPC_MOJO_EXPORT MojoBootstrap : public Listener {
#if defined(OS_POSIX) && !defined(OS_NACL)
int GetClientFileDescriptor() const;
- int TakeClientFileDescriptor();
+ base::ScopedFD TakeClientFileDescriptor();
#endif // defined(OS_POSIX) && !defined(OS_NACL)
protected:

Powered by Google App Engine
This is Rietveld 408576698