| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Multiply-included message file, so no include guard. |
| 6 |
| 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h" |
| 9 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" |
| 10 |
| 11 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(SubMessage) |
| 12 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(foo) |
| 13 IPC_PROTOBUF_MESSAGE_TRAITS_END() |
| 14 |
| 15 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(TestMessage) |
| 16 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(fund_int) |
| 17 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_string) |
| 18 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_bytes) |
| 19 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_sub) |
| 20 IPC_PROTOBUF_MESSAGE_TRAITS_REPEATED_COMPLEX_MEMBER(rep_comp_sub) |
| 21 IPC_PROTOBUF_MESSAGE_TRAITS_END() |
| OLD | NEW |