| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 #include <map> | 12 #include <map> |
| 13 #include <set> | 13 #include <set> |
| 14 | 14 |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/format_macros.h" | 16 #include "base/format_macros.h" |
| 17 #include "base/nullable_string16.h" | 17 #include "base/nullable_string16.h" |
| 18 #include "base/string16.h" | 18 #include "base/string16.h" |
| 19 #include "base/string_number_conversions.h" | 19 #include "base/string_number_conversions.h" |
| 20 #include "base/string_util.h" | 20 #include "base/string_util.h" |
| 21 #include "base/utf_string_conversions.h" | |
| 22 #include "base/time.h" | 21 #include "base/time.h" |
| 23 #include "base/tuple.h" | 22 #include "base/tuple.h" |
| 23 #include "base/utf_string_conversions.h" |
| 24 #include "base/values.h" | 24 #include "base/values.h" |
| 25 #if defined(OS_POSIX) | 25 #if defined(OS_POSIX) |
| 26 #include "ipc/file_descriptor_set_posix.h" | 26 #include "ipc/file_descriptor_set_posix.h" |
| 27 #endif | 27 #endif |
| 28 #include "ipc/ipc_channel_handle.h" | 28 #include "ipc/ipc_channel_handle.h" |
| 29 #include "ipc/ipc_sync_message.h" | 29 #include "ipc/ipc_sync_message.h" |
| 30 | 30 |
| 31 // Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique | 31 // Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique |
| 32 // base. Messages have unique IDs across channels in order for the IPC logging | 32 // base. Messages have unique IDs across channels in order for the IPC logging |
| 33 // code to figure out the message class from its ID. | 33 // code to figure out the message class from its ID. |
| (...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1309 ReplyParam p(a, b, c, d, e); | 1309 ReplyParam p(a, b, c, d, e); |
| 1310 WriteParam(reply, p); | 1310 WriteParam(reply, p); |
| 1311 } | 1311 } |
| 1312 }; | 1312 }; |
| 1313 | 1313 |
| 1314 //----------------------------------------------------------------------------- | 1314 //----------------------------------------------------------------------------- |
| 1315 | 1315 |
| 1316 } // namespace IPC | 1316 } // namespace IPC |
| 1317 | 1317 |
| 1318 #endif // IPC_IPC_MESSAGE_UTILS_H_ | 1318 #endif // IPC_IPC_MESSAGE_UTILS_H_ |
| OLD | NEW |