Chromium Code Reviews| 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 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
| |
| 17 Type GetType() const override { return TYPE_WIN_HANDLE; } | |
| 18 }; | |
| 19 | |
| 20 } // namespace internal | |
| 21 } // namespace IPC | |
| 22 | |
| 23 #endif // IPC_HANDLE_ATTACHMENT_WIN_H_ | |
| OLD | NEW |