| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_UTILS_H_ | 5 #ifndef IPC_IPC_MESSAGE_UTILS_H_ |
| 6 #define IPC_IPC_MESSAGE_UTILS_H_ | 6 #define IPC_IPC_MESSAGE_UTILS_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 WorkerProcessHostMsgStart, | 46 WorkerProcessHostMsgStart, |
| 47 WorkerMsgStart, | 47 WorkerMsgStart, |
| 48 WorkerHostMsgStart, | 48 WorkerHostMsgStart, |
| 49 NaClProcessMsgStart, | 49 NaClProcessMsgStart, |
| 50 GpuCommandBufferMsgStart, | 50 GpuCommandBufferMsgStart, |
| 51 UtilityMsgStart, | 51 UtilityMsgStart, |
| 52 UtilityHostMsgStart, | 52 UtilityHostMsgStart, |
| 53 GpuMsgStart, | 53 GpuMsgStart, |
| 54 GpuHostMsgStart, | 54 GpuHostMsgStart, |
| 55 GpuChannelMsgStart, | 55 GpuChannelMsgStart, |
| 56 MultiProcessMsgStart, |
| 57 MultiProcessHostMsgStart, |
| 56 // NOTE: When you add a new message class, also update | 58 // NOTE: When you add a new message class, also update |
| 57 // IPCStatusView::IPCStatusView to ensure logging works. | 59 // IPCStatusView::IPCStatusView to ensure logging works. |
| 58 LastMsgIndex | 60 LastMsgIndex |
| 59 }; | 61 }; |
| 60 | 62 |
| 61 namespace IPC { | 63 namespace IPC { |
| 62 | 64 |
| 63 //----------------------------------------------------------------------------- | 65 //----------------------------------------------------------------------------- |
| 64 // An iterator class for reading the fields contained within a Message. | 66 // An iterator class for reading the fields contained within a Message. |
| 65 | 67 |
| (...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 ReplyParam p(a, b, c, d, e); | 1255 ReplyParam p(a, b, c, d, e); |
| 1254 WriteParam(reply, p); | 1256 WriteParam(reply, p); |
| 1255 } | 1257 } |
| 1256 }; | 1258 }; |
| 1257 | 1259 |
| 1258 //----------------------------------------------------------------------------- | 1260 //----------------------------------------------------------------------------- |
| 1259 | 1261 |
| 1260 } // namespace IPC | 1262 } // namespace IPC |
| 1261 | 1263 |
| 1262 #endif // IPC_IPC_MESSAGE_UTILS_H_ | 1264 #endif // IPC_IPC_MESSAGE_UTILS_H_ |
| OLD | NEW |