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 <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "build/build_config.h" |
12 #include "ipc/ipc_export.h" | 15 #include "ipc/ipc_export.h" |
13 | 16 |
14 #if defined(OS_POSIX) | 17 #if defined(OS_POSIX) |
15 #include "base/files/file.h" | 18 #include "base/files/file.h" |
16 #endif | 19 #endif |
17 | 20 |
18 namespace IPC { | 21 namespace IPC { |
19 | 22 |
20 class BrokerableAttachment; | 23 class BrokerableAttachment; |
21 class MessageAttachment; | 24 class MessageAttachment; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // all the descriptors have been read (with GetNthDescriptor). Secondly, we | 154 // all the descriptors have been read (with GetNthDescriptor). Secondly, we |
152 // can check that they are read in order. | 155 // can check that they are read in order. |
153 mutable unsigned consumed_descriptor_highwater_; | 156 mutable unsigned consumed_descriptor_highwater_; |
154 | 157 |
155 DISALLOW_COPY_AND_ASSIGN(MessageAttachmentSet); | 158 DISALLOW_COPY_AND_ASSIGN(MessageAttachmentSet); |
156 }; | 159 }; |
157 | 160 |
158 } // namespace IPC | 161 } // namespace IPC |
159 | 162 |
160 #endif // IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ | 163 #endif // IPC_IPC_MESSAGE_ATTACHMENT_SET_H_ |
OLD | NEW |