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_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 <limits.h> |
8 #include <stddef.h> | 9 #include <stddef.h> |
9 #include <stdint.h> | 10 #include <stdint.h> |
10 | 11 |
11 #include <algorithm> | 12 #include <algorithm> |
12 #include <map> | 13 #include <map> |
13 #include <set> | 14 #include <set> |
14 #include <string> | 15 #include <string> |
15 #include <vector> | 16 #include <vector> |
16 | 17 |
17 #include "base/containers/small_map.h" | 18 #include "base/containers/small_map.h" |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 template <typename... Ts> | 1058 template <typename... Ts> |
1058 static void WriteReplyParams(Message* reply, Ts... args) { | 1059 static void WriteReplyParams(Message* reply, Ts... args) { |
1059 ReplyParam p(args...); | 1060 ReplyParam p(args...); |
1060 WriteParam(reply, p); | 1061 WriteParam(reply, p); |
1061 } | 1062 } |
1062 }; | 1063 }; |
1063 | 1064 |
1064 } // namespace IPC | 1065 } // namespace IPC |
1065 | 1066 |
1066 #endif // IPC_IPC_MESSAGE_UTILS_H_ | 1067 #endif // IPC_IPC_MESSAGE_UTILS_H_ |
OLD | NEW |