Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/pickle.h" | 12 #include "base/pickle.h" |
| 13 #include "ipc/ipc_export.h" | 13 #include "ipc/ipc_export.h" |
| 14 | 14 |
| 15 #ifndef NDEBUG | 15 #if !defined(NDEBUG) && !defined(COMPONENT_BUILD) |
|
jam
2012/02/21 04:13:21
nit: please add a comment about why this is done f
| |
| 16 #define IPC_MESSAGE_LOG_ENABLED | 16 #define IPC_MESSAGE_LOG_ENABLED |
| 17 #endif | 17 #endif |
| 18 | 18 |
| 19 #if defined(OS_POSIX) | 19 #if defined(OS_POSIX) |
| 20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 struct FileDescriptor; | 24 struct FileDescriptor; |
| 25 } | 25 } |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 275 MSG_ROUTING_NONE = -2, | 275 MSG_ROUTING_NONE = -2, |
| 276 | 276 |
| 277 // indicates a general message not sent to a particular tab. | 277 // indicates a general message not sent to a particular tab. |
| 278 MSG_ROUTING_CONTROL = kint32max, | 278 MSG_ROUTING_CONTROL = kint32max, |
| 279 }; | 279 }; |
| 280 | 280 |
| 281 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies | 281 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies |
| 282 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging | 282 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging |
| 283 | 283 |
| 284 #endif // IPC_IPC_MESSAGE_H_ | 284 #endif // IPC_IPC_MESSAGE_H_ |
| OLD | NEW |