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

Unified Diff: ipc/ipc_message_attachment.h

Issue 883093003: IPC::Message Refactoring: Move POSIX specific bits to PlatformFileAttachment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing Windows build error Created 5 years, 11 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/ipc_message.cc ('k') | ipc/ipc_message_attachment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_attachment.h
diff --git a/ipc/ipc_message_attachment.h b/ipc/ipc_message_attachment.h
index 09314c2dbff6663a64202595fa513a9a92c50f7b..4ab69700355bfdc237268581eded2fa2290a4533 100644
--- a/ipc/ipc_message_attachment.h
+++ b/ipc/ipc_message_attachment.h
@@ -5,6 +5,8 @@
#ifndef IPC_IPC_MESSAGE_ATTACHMENT_H_
#define IPC_IPC_MESSAGE_ATTACHMENT_H_
+#include "base/files/file.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "ipc/ipc_export.h"
@@ -21,10 +23,14 @@ class IPC_EXPORT MessageAttachment
};
virtual Type GetType() const = 0;
+ virtual base::PlatformFile TakePlatformFile() = 0;
protected:
friend class base::RefCounted<MessageAttachment>;
+ MessageAttachment();
virtual ~MessageAttachment();
+
+ DISALLOW_COPY_AND_ASSIGN(MessageAttachment);
};
} // namespace IPC
« no previous file with comments | « ipc/ipc_message.cc ('k') | ipc/ipc_message_attachment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698