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

Side by Side Diff: chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h

Issue 2968003005: Support Serializing and Deserializing RepeatedField / RepeatedPtrField in IPC::Message (Closed)
Patch Set: Resolve review comments Created 3 years, 5 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
OLDNEW
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_protobuf_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()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698