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

Unified Diff: content/browser/renderer_host/sandbox_ipc_linux.h

Issue 258543006: Change UnixDomainSocket::RecvMsg to return ScopedVector<base::ScopedFD> (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and resolve conflicts with r266735 Created 6 years, 8 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: content/browser/renderer_host/sandbox_ipc_linux.h
diff --git a/content/browser/renderer_host/sandbox_ipc_linux.h b/content/browser/renderer_host/sandbox_ipc_linux.h
index 2ebefc2e84df33dc0edd3dea542da6f3842f9fb1..e9009546dea32e8d40ea9218d19f95150457b123 100644
--- a/content/browser/renderer_host/sandbox_ipc_linux.h
+++ b/content/browser/renderer_host/sandbox_ipc_linux.h
@@ -9,6 +9,7 @@
#include <vector>
+#include "base/files/scoped_file.h"
#include "base/memory/scoped_ptr.h"
#include "base/pickle.h"
#include "content/child/blink_platform_impl.h"
@@ -42,44 +43,44 @@ class SandboxIPCProcess {
void HandleFontMatchRequest(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
void HandleFontOpenRequest(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
void HandleGetFontFamilyForChar(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
void HandleGetStyleForStrike(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
void HandleLocaltime(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
void HandleGetChildWithInode(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
void HandleMakeSharedMemorySegment(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
void HandleMatchWithFallback(int fd,
const Pickle& pickle,
PickleIterator iter,
- std::vector<int>& fds);
+ const std::vector<base::ScopedFD*>& fds);
- void SendRendererReply(const std::vector<int>& fds,
+ void SendRendererReply(const std::vector<base::ScopedFD*>& fds,
const Pickle& reply,
int reply_fd);
« no previous file with comments | « components/nacl/zygote/nacl_fork_delegate_linux.cc ('k') | content/browser/renderer_host/sandbox_ipc_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698