| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ | 5 #ifndef IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ |
| 6 #define IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ | 6 #define IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "ipc/ipc_export.h" | 12 #include "ipc/ipc_export.h" |
| 13 | 13 |
| 14 #if defined(OS_POSIX) | 14 #if defined(OS_POSIX) |
| 15 #include "base/files/file.h" | 15 #include "base/files/file.h" |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 namespace IPC { | 18 namespace IPC { |
| 19 | 19 |
| 20 class BrokerableAttachment; | 20 class BrokerableAttachment; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // all the descriptors have been read (with GetNthDescriptor). Secondly, we | 116 // all the descriptors have been read (with GetNthDescriptor). Secondly, we |
| 117 // can check that they are read in order. | 117 // can check that they are read in order. |
| 118 mutable unsigned consumed_descriptor_highwater_; | 118 mutable unsigned consumed_descriptor_highwater_; |
| 119 | 119 |
| 120 DISALLOW_COPY_AND_ASSIGN(MessageAttachmentSet); | 120 DISALLOW_COPY_AND_ASSIGN(MessageAttachmentSet); |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace IPC | 123 } // namespace IPC |
| 124 | 124 |
| 125 #endif // IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ | 125 #endif // IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ |
| OLD | NEW |