IPC: Introduce MessageAttachment and PlatformFileAttachment.
This is another preparation for crbug.com/448190.
This change encapsulates a platform file as a MessageAttachment
abstract class and its subclass called PlatformFileAttachment.
This abstraction allows MessageAttachmentSet to contain not only
platform files, but also a mojo MessagePipes, which will be
encapsulated by another MessageAttachment subclass.
BUG=448190
[email protected], [email protected]
Review URL: https://codereview.chromium.org/856443003
Cr-Commit-Position: refs/heads/master@{#313157}
diff --git a/ipc/ipc_message_attachment.cc b/ipc/ipc_message_attachment.cc
new file mode 100644
index 0000000..e6e27a9
--- /dev/null
+++ b/ipc/ipc_message_attachment.cc
@@ -0,0 +1,12 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ipc/ipc_message_attachment.h"
+
+namespace IPC {
+
+MessageAttachment::~MessageAttachment() {
+}
+
+} // namespace IPC