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

Unified Diff: ppapi/proxy/proxy_channel.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
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | ppapi/proxy/proxy_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/proxy_channel.h
diff --git a/ppapi/proxy/proxy_channel.h b/ppapi/proxy/proxy_channel.h
index 873bc09f0f989401449fbcb33b774f6db92d650c..97069beb36723ecffb3fbbed2edd3bb46a8a320d 100644
--- a/ppapi/proxy/proxy_channel.h
+++ b/ppapi/proxy/proxy_channel.h
@@ -5,6 +5,7 @@
#ifndef PPAPI_PROXY_PROXY_CHANNEL_H_
#define PPAPI_PROXY_PROXY_CHANNEL_H_
+#include "base/files/scoped_file.h"
dmichael (off chromium) 2014/10/20 22:34:40 optional nit: It should be possible to make a forw
Hajime Morrita 2014/10/20 22:49:53 Tried, but turned out the type is a typedef of a t
#include "base/memory/scoped_ptr.h"
#include "base/process/process.h"
#include "ipc/ipc_listener.h"
@@ -81,7 +82,7 @@ class PPAPI_PROXY_EXPORT ProxyChannel
}
#if defined(OS_POSIX) && !defined(OS_NACL)
- int TakeRendererFD();
+ base::ScopedFD TakeRendererFD();
#endif
protected:
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | ppapi/proxy/proxy_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698