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_H_ | 5 #ifndef IPC_IPC_MESSAGE_H_ |
6 #define IPC_IPC_MESSAGE_H_ | 6 #define IPC_IPC_MESSAGE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/debug/trace_event.h" | |
12 #include "base/files/file.h" | 11 #include "base/files/file.h" |
13 #include "base/pickle.h" | 12 #include "base/pickle.h" |
| 13 #include "base/trace_event/trace_event.h" |
14 #include "ipc/ipc_export.h" | 14 #include "ipc/ipc_export.h" |
15 | 15 |
16 #if !defined(NDEBUG) | 16 #if !defined(NDEBUG) |
17 #define IPC_MESSAGE_LOG_ENABLED | 17 #define IPC_MESSAGE_LOG_ENABLED |
18 #endif | 18 #endif |
19 | 19 |
20 #if defined(OS_POSIX) | 20 #if defined(OS_POSIX) |
21 #include "base/memory/ref_counted.h" | 21 #include "base/memory/ref_counted.h" |
22 #endif | 22 #endif |
23 | 23 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 MSG_ROUTING_NONE = -2, | 281 MSG_ROUTING_NONE = -2, |
282 | 282 |
283 // indicates a general message not sent to a particular tab. | 283 // indicates a general message not sent to a particular tab. |
284 MSG_ROUTING_CONTROL = kint32max, | 284 MSG_ROUTING_CONTROL = kint32max, |
285 }; | 285 }; |
286 | 286 |
287 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies | 287 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies |
288 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging | 288 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging |
289 | 289 |
290 #endif // IPC_IPC_MESSAGE_H_ | 290 #endif // IPC_IPC_MESSAGE_H_ |
OLD | NEW |