OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHANNEL_READER_H_ | 5 #ifndef IPC_IPC_CHANNEL_READER_H_ |
6 #define IPC_IPC_CHANNEL_READER_H_ | 6 #define IPC_IPC_CHANNEL_READER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_vector.h" | |
15 #include "ipc/ipc_channel.h" | 14 #include "ipc/ipc_channel.h" |
16 #include "ipc/ipc_export.h" | 15 #include "ipc/ipc_export.h" |
17 | 16 |
18 namespace IPC { | 17 namespace IPC { |
19 namespace internal { | 18 namespace internal { |
20 | 19 |
21 // This class provides common pipe reading functionality for the | 20 // This class provides common pipe reading functionality for the |
22 // platform-specific IPC channel implementations. | 21 // platform-specific IPC channel implementations. |
23 // | 22 // |
24 // It does the common input buffer management and message dispatch, while the | 23 // It does the common input buffer management and message dispatch, while the |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // of std::string::reserve() implementation. | 158 // of std::string::reserve() implementation. |
160 size_t max_input_buffer_size_; | 159 size_t max_input_buffer_size_; |
161 | 160 |
162 DISALLOW_COPY_AND_ASSIGN(ChannelReader); | 161 DISALLOW_COPY_AND_ASSIGN(ChannelReader); |
163 }; | 162 }; |
164 | 163 |
165 } // namespace internal | 164 } // namespace internal |
166 } // namespace IPC | 165 } // namespace IPC |
167 | 166 |
168 #endif // IPC_IPC_CHANNEL_READER_H_ | 167 #endif // IPC_IPC_CHANNEL_READER_H_ |
OLD | NEW |