OLD | NEW |
(Empty) | |
| 1 // 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 |
| 11 namespace IPC { |
| 12 namespace internal { |
| 13 |
| 14 // This class represents a Windows HANDLE attached to a Chrome IPC message. |
| 15 class 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_ |
OLD | NEW |