aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchmarks
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2015-05-06 15:25:03 +0100
committerGravatar Jon Skeet <jonskeet@google.com>2015-05-06 19:07:14 +0100
commit7879f82ddceb76c2b6710e240a91f0eabf494c33 (patch)
tree208562e7acec9a9456560f0756d87bbbc7c56dd4 /benchmarks
parente0afc0028f88c2e1e8ac5a053717cd3e0c8cc9cb (diff)
Add C# namespace to .proto files (e.g. descriptors, unit tests)
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/google_size.proto3
-rw-r--r--benchmarks/google_speed.proto3
2 files changed, 6 insertions, 0 deletions
diff --git a/benchmarks/google_size.proto b/benchmarks/google_size.proto
index 3e6fbdbc..e0fcb2e0 100644
--- a/benchmarks/google_size.proto
+++ b/benchmarks/google_size.proto
@@ -1,7 +1,10 @@
+syntax = "proto2";
+
package benchmarks;
option java_outer_classname = "GoogleSize";
option optimize_for = CODE_SIZE;
+option csharp_namespace = "Google.ProtocolBuffers.TestProtos";
message SizeMessage1 {
required string field1 = 1;
diff --git a/benchmarks/google_speed.proto b/benchmarks/google_speed.proto
index d6cd0321..3bc5fd2d 100644
--- a/benchmarks/google_speed.proto
+++ b/benchmarks/google_speed.proto
@@ -1,7 +1,10 @@
+syntax = "proto2";
+
package benchmarks;
option java_outer_classname = "GoogleSpeed";
option optimize_for = SPEED;
+option csharp_namespace = "Google.ProtocolBuffers.TestProtos";
message SpeedMessage1 {
required string field1 = 1;