OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_IPC_MESSAGE_H__ | 5 #ifndef CHROME_COMMON_IPC_MESSAGE_H__ |
6 #define CHROME_COMMON_IPC_MESSAGE_H__ | 6 #define CHROME_COMMON_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/pickle.h" | 11 #include "base/pickle.h" |
12 #include "testing/gtest/include/gtest/gtest_prod.h" | |
13 | 12 |
14 #ifndef NDEBUG | 13 #ifndef NDEBUG |
15 #define IPC_MESSAGE_LOG_ENABLED | 14 #define IPC_MESSAGE_LOG_ENABLED |
16 #endif | 15 #endif |
17 | 16 |
18 #if defined(OS_POSIX) | 17 #if defined(OS_POSIX) |
19 #include "base/ref_counted.h" | 18 #include "base/ref_counted.h" |
20 #endif | 19 #endif |
21 | 20 |
22 namespace base { | 21 namespace base { |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 MSG_ROUTING_NONE = -2, | 270 MSG_ROUTING_NONE = -2, |
272 | 271 |
273 // indicates a general message not sent to a particular tab. | 272 // indicates a general message not sent to a particular tab. |
274 MSG_ROUTING_CONTROL = kint32max, | 273 MSG_ROUTING_CONTROL = kint32max, |
275 }; | 274 }; |
276 | 275 |
277 #define IPC_REPLY_ID 0xFFF0 // Special message id for replies | 276 #define IPC_REPLY_ID 0xFFF0 // Special message id for replies |
278 #define IPC_LOGGING_ID 0xFFF1 // Special message id for logging | 277 #define IPC_LOGGING_ID 0xFFF1 // Special message id for logging |
279 | 278 |
280 #endif // CHROME_COMMON_IPC_MESSAGE_H__ | 279 #endif // CHROME_COMMON_IPC_MESSAGE_H__ |
OLD | NEW |