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

Unified Diff: ipc/test_proto.proto

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 side-by-side diff with in-line comments
Download patch
Index: ipc/test_proto.proto
diff --git a/ipc/test_proto.proto b/ipc/test_proto.proto
new file mode 100644
index 0000000000000000000000000000000000000000..98525edee2143ea72e618c228a98cfdec6c6a6df
--- /dev/null
+++ b/ipc/test_proto.proto
@@ -0,0 +1,20 @@
+// Copyright 2017 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.
+
+syntax = "proto2";
+option optimize_for = LITE_RUNTIME;
+package ipc_message_utils_test;
+
+// This is a simple dummy protocol buffer that is used for testing handling of
+// protocol buffers in ipc_message_utils.
+
+message TestMessage1 {
+ optional int32 number = 1;
+}
+
+message TestMessage2 {
+ repeated int32 numbers = 1;
+ repeated string strings = 2;
+ repeated TestMessage1 messages = 3;
+}
« ipc/ipc_message_protobuf_utils.h ('K') | « ipc/ipc_message_protobuf_utils_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698