Chromium Code Reviews| Index: ipc/handle_attachment_win.h |
| diff --git a/ipc/handle_attachment_win.h b/ipc/handle_attachment_win.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7fcf44512e1327566640ba8652023d8b45e3d762 |
| --- /dev/null |
| +++ b/ipc/handle_attachment_win.h |
| @@ -0,0 +1,23 @@ |
| +// 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 { |
| + HANDLE handle_; |
|
Will Harris
2015/06/16 12:58:17
handle_ should be private?
erikchen
2015/06/16 17:56:42
Classes are private by default.
I added a privat
|
| + Type GetType() const override { return TYPE_WIN_HANDLE; } |
| +}; |
| + |
| +} // namespace internal |
| +} // namespace IPC |
| + |
| +#endif // IPC_HANDLE_ATTACHMENT_WIN_H_ |