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

Side by Side Diff: ipc/ipc_message_null_macros.h

Issue 10067023: Add support for default values of IPC_STRUCT_MEMBER. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tsepez feedback Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ipc/param_traits_log_macros.h » ('j') | 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) 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 // No include guard, may be included multiple times. 5 // No include guard, may be included multiple times.
6 6
7 // NULL out all the macros that need NULLing, so that multiple includes of 7 // NULL out all the macros that need NULLing, so that multiple includes of
8 // the XXXX_messages_internal.h files will not generate noise. 8 // the XXXX_messages_internal.h files will not generate noise.
9 #undef IPC_STRUCT_BEGIN 9 #undef IPC_STRUCT_BEGIN
10 #undef IPC_STRUCT_BEGIN_WITH_PARENT 10 #undef IPC_STRUCT_BEGIN_WITH_PARENT
11 #undef IPC_STRUCT_MEMBER 11 #undef IPC_STRUCT_MEMBER
12 #undef IPC_STRUCT_END 12 #undef IPC_STRUCT_END
13 #undef IPC_STRUCT_TRAITS_BEGIN 13 #undef IPC_STRUCT_TRAITS_BEGIN
14 #undef IPC_STRUCT_TRAITS_MEMBER 14 #undef IPC_STRUCT_TRAITS_MEMBER
15 #undef IPC_STRUCT_TRAITS_PARENT 15 #undef IPC_STRUCT_TRAITS_PARENT
16 #undef IPC_STRUCT_TRAITS_END 16 #undef IPC_STRUCT_TRAITS_END
17 #undef IPC_ENUM_TRAITS 17 #undef IPC_ENUM_TRAITS
18 #undef IPC_MESSAGE_DECL 18 #undef IPC_MESSAGE_DECL
19 19
20 #define IPC_STRUCT_BEGIN(struct_name) 20 #define IPC_STRUCT_BEGIN(struct_name)
21 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) 21 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent)
22 #define IPC_STRUCT_MEMBER(type, name) 22 #define IPC_STRUCT_MEMBER(type, name, ...)
23 #define IPC_STRUCT_END() 23 #define IPC_STRUCT_END()
24 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) 24 #define IPC_STRUCT_TRAITS_BEGIN(struct_name)
25 #define IPC_STRUCT_TRAITS_MEMBER(name) 25 #define IPC_STRUCT_TRAITS_MEMBER(name)
26 #define IPC_STRUCT_TRAITS_PARENT(type) 26 #define IPC_STRUCT_TRAITS_PARENT(type)
27 #define IPC_STRUCT_TRAITS_END() 27 #define IPC_STRUCT_TRAITS_END()
28 #define IPC_ENUM_TRAITS(enum_name) 28 #define IPC_ENUM_TRAITS(enum_name)
29 #define IPC_MESSAGE_DECL(sync, kind, msg_class, \ 29 #define IPC_MESSAGE_DECL(sync, kind, msg_class, \
30 in_cnt, out_cnt, in_list, out_list) 30 in_cnt, out_cnt, in_list, out_list)
31 31
OLDNEW
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ipc/param_traits_log_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698