Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Side by Side Diff: ipc/ipc_message.h

Issue 1331673002: ipc: Convert k(u)int*max types from basictypes.h to std::numeric_limits variants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win? Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h"
13 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
14 #include "base/pickle.h" 13 #include "base/pickle.h"
15 #include "base/trace_event/trace_event.h" 14 #include "base/trace_event/trace_event.h"
16 #include "ipc/ipc_export.h" 15 #include "ipc/ipc_export.h"
17 16
18 #if !defined(NDEBUG) 17 #if !defined(NDEBUG)
19 #define IPC_MESSAGE_LOG_ENABLED 18 #define IPC_MESSAGE_LOG_ENABLED
20 #endif 19 #endif
21 20
22 namespace IPC { 21 namespace IPC {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 271
273 //------------------------------------------------------------------------------ 272 //------------------------------------------------------------------------------
274 273
275 } // namespace IPC 274 } // namespace IPC
276 275
277 enum SpecialRoutingIDs { 276 enum SpecialRoutingIDs {
278 // indicates that we don't have a routing ID yet. 277 // indicates that we don't have a routing ID yet.
279 MSG_ROUTING_NONE = -2, 278 MSG_ROUTING_NONE = -2,
280 279
281 // indicates a general message not sent to a particular tab. 280 // indicates a general message not sent to a particular tab.
282 MSG_ROUTING_CONTROL = kint32max, 281 MSG_ROUTING_CONTROL = INT32_MAX,
283 }; 282 };
284 283
285 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies 284 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies
286 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging 285 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging
287 286
288 #endif // IPC_IPC_MESSAGE_H_ 287 #endif // IPC_IPC_MESSAGE_H_
OLDNEW
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698