| 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/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 13 #include "base/pickle.h" | 12 #include "base/pickle.h" |
| 14 #include "base/trace_event/trace_event.h" | 13 #include "base/trace_event/trace_event.h" |
| 15 #include "ipc/ipc_export.h" | 14 #include "ipc/ipc_export.h" |
| 16 | 15 |
| 17 #if !defined(NDEBUG) | 16 #if !defined(NDEBUG) |
| 18 #define IPC_MESSAGE_LOG_ENABLED | 17 #define IPC_MESSAGE_LOG_ENABLED |
| 19 #endif | 18 #endif |
| 20 | 19 |
| 21 namespace IPC { | 20 namespace IPC { |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 MSG_ROUTING_NONE = -2, | 272 MSG_ROUTING_NONE = -2, |
| 274 | 273 |
| 275 // indicates a general message not sent to a particular tab. | 274 // indicates a general message not sent to a particular tab. |
| 276 MSG_ROUTING_CONTROL = kint32max, | 275 MSG_ROUTING_CONTROL = kint32max, |
| 277 }; | 276 }; |
| 278 | 277 |
| 279 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies | 278 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies |
| 280 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging | 279 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging |
| 281 | 280 |
| 282 #endif // IPC_IPC_MESSAGE_H_ | 281 #endif // IPC_IPC_MESSAGE_H_ |
| OLD | NEW |