diff options
author | morrita <morrita@chromium.org> | 2015-01-26 14:42:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-26 22:44:56 +0000 |
commit | 98b7aaad5eddcdadbba66380d2ac7a1b5868af3c (patch) | |
tree | 22e4b8683711ec9c2bf953ce3347bc9abf703395 /ipc/ipc_message_attachment.cc | |
parent | 653e98f8e47c5d525492d976e3780ec03bae8eae (diff) | |
download | chromium_src-98b7aaad5eddcdadbba66380d2ac7a1b5868af3c.zip chromium_src-98b7aaad5eddcdadbba66380d2ac7a1b5868af3c.tar.gz chromium_src-98b7aaad5eddcdadbba66380d2ac7a1b5868af3c.tar.bz2 |
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
R=agl@chromium.org, viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/856443003
Cr-Commit-Position: refs/heads/master@{#313157}
Diffstat (limited to 'ipc/ipc_message_attachment.cc')
-rw-r--r-- | ipc/ipc_message_attachment.cc | 12 |
1 files changed, 12 insertions, 0 deletions
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 |