| 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 <stddef.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 | 10 |
| 10 #include <string> | 11 #include <string> |
| 11 | 12 |
| 12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 14 #include "base/pickle.h" | 15 #include "base/pickle.h" |
| 15 #include "base/trace_event/trace_event.h" | 16 #include "base/trace_event/trace_event.h" |
| 17 #include "build/build_config.h" |
| 16 #include "ipc/attachment_broker.h" | 18 #include "ipc/attachment_broker.h" |
| 17 #include "ipc/brokerable_attachment.h" | 19 #include "ipc/brokerable_attachment.h" |
| 18 #include "ipc/ipc_export.h" | 20 #include "ipc/ipc_export.h" |
| 19 | 21 |
| 20 #if !defined(NDEBUG) | 22 #if !defined(NDEBUG) |
| 21 #define IPC_MESSAGE_LOG_ENABLED | 23 #define IPC_MESSAGE_LOG_ENABLED |
| 22 #endif | 24 #endif |
| 23 | 25 |
| 24 namespace IPC { | 26 namespace IPC { |
| 25 | 27 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 MSG_ROUTING_NONE = -2, | 335 MSG_ROUTING_NONE = -2, |
| 334 | 336 |
| 335 // indicates a general message not sent to a particular tab. | 337 // indicates a general message not sent to a particular tab. |
| 336 MSG_ROUTING_CONTROL = INT32_MAX, | 338 MSG_ROUTING_CONTROL = INT32_MAX, |
| 337 }; | 339 }; |
| 338 | 340 |
| 339 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies | 341 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies |
| 340 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging | 342 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging |
| 341 | 343 |
| 342 #endif // IPC_IPC_MESSAGE_H_ | 344 #endif // IPC_IPC_MESSAGE_H_ |
| OLD | NEW |