OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "ipc/ipc_message_repeated_field_utils.h" |
8 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h" | 9 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h" |
9 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" | |
10 | 10 |
11 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(SubMessage) | 11 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(SubMessage) |
12 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(foo) | 12 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(foo) |
13 IPC_PROTOBUF_MESSAGE_TRAITS_END() | 13 IPC_PROTOBUF_MESSAGE_TRAITS_END() |
14 | 14 |
15 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(TestMessage) | 15 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(TestMessage) |
16 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(fund_int) | 16 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(fund_int) |
17 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_string) | 17 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_string) |
18 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_bytes) | 18 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_bytes) |
19 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_sub) | 19 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_sub) |
20 IPC_PROTOBUF_MESSAGE_TRAITS_REPEATED_COMPLEX_MEMBER(rep_comp_sub) | 20 IPC_PROTOBUF_MESSAGE_TRAITS_REPEATED_COMPLEX_MEMBER(rep_comp_sub) |
21 IPC_PROTOBUF_MESSAGE_TRAITS_END() | 21 IPC_PROTOBUF_MESSAGE_TRAITS_END() |
OLD | NEW |