diff options
author | erikchen <erikchen@chromium.org> | 2015-06-16 13:20:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-16 20:22:34 +0000 |
commit | 151b2f982d66d76337668b0b7f26ab0cd9d7ff34 (patch) | |
tree | b5a43af376e7bcdabb5a28e8fa451e0011862b8e /ipc/handle_attachment_win.h | |
parent | a4b3a55e702f00a77e13edbbdcc62f63d3da525f (diff) | |
download | chromium_src-151b2f982d66d76337668b0b7f26ab0cd9d7ff34.zip chromium_src-151b2f982d66d76337668b0b7f26ab0cd9d7ff34.tar.gz chromium_src-151b2f982d66d76337668b0b7f26ab0cd9d7ff34.tar.bz2 |
IPC: Add new classes required for attachment brokering.
The implementations of these classes are just stubs.
BUG=493414
Review URL: https://codereview.chromium.org/1180313007
Cr-Commit-Position: refs/heads/master@{#334676}
Diffstat (limited to 'ipc/handle_attachment_win.h')
-rw-r--r-- | ipc/handle_attachment_win.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ipc/handle_attachment_win.h b/ipc/handle_attachment_win.h new file mode 100644 index 0000000..b539907 --- /dev/null +++ b/ipc/handle_attachment_win.h @@ -0,0 +1,24 @@ +// Copyright 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. + +#ifndef IPC_HANDLE_ATTACHMENT_WIN_H_ +#define IPC_HANDLE_ATTACHMENT_WIN_H_ + +#include "ipc/brokerable_attachment.h" +#include "ipc/ipc_export.h" + +namespace IPC { +namespace internal { + +// This class represents a Windows HANDLE attached to a Chrome IPC message. +class IPC_EXPORT HandleAttachmentWin : public BrokerableAttachment { + private: + Type GetType() const override { return TYPE_WIN_HANDLE; } + HANDLE handle_; +}; + +} // namespace internal +} // namespace IPC + +#endif // IPC_HANDLE_ATTACHMENT_WIN_H_ |