blob: b539907e8283e48f32b28bdfd98b0b892b551a31 [file] [log] [blame]
erikchen151b2f92015-06-16 20:20:511// Copyright 2015 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef IPC_HANDLE_ATTACHMENT_WIN_H_
6#define IPC_HANDLE_ATTACHMENT_WIN_H_
7
8#include "ipc/brokerable_attachment.h"
9#include "ipc/ipc_export.h"
10
11namespace IPC {
12namespace internal {
13
14// This class represents a Windows HANDLE attached to a Chrome IPC message.
15class IPC_EXPORT HandleAttachmentWin : public BrokerableAttachment {
16 private:
17 Type GetType() const override { return TYPE_WIN_HANDLE; }
18 HANDLE handle_;
19};
20
21} // namespace internal
22} // namespace IPC
23
24#endif // IPC_HANDLE_ATTACHMENT_WIN_H_