summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h')
-rw-r--r--chromium/chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h b/chromium/chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h
new file mode 100644
index 00000000000..64283ffc115
--- /dev/null
+++ b/chromium/chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SAFE_BROWSING_IPC_PROTOBUF_MESSAGE_TEST_MESSAGES_H_
+#define SAFE_BROWSING_IPC_PROTOBUF_MESSAGE_TEST_MESSAGES_H_
+
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_message_protobuf_utils.h"
+#include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h"
+
+IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(SubMessage)
+ IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(foo)
+IPC_PROTOBUF_MESSAGE_TRAITS_END()
+
+IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(TestMessage)
+ IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(fund_int)
+ IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_string)
+ IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_bytes)
+ IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(op_comp_sub)
+ IPC_PROTOBUF_MESSAGE_TRAITS_REPEATED_COMPLEX_MEMBER(rep_comp_sub)
+IPC_PROTOBUF_MESSAGE_TRAITS_END()
+
+#endif // SAFE_BROWSING_IPC_PROTOBUF_MESSAGE_TEST_MESSAGES_H_