| OLD | NEW |
| 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 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 message SubMessage { | 9 message SubMessage { |
| 10 optional int32 foo = 1; | 10 optional int32 foo = 1; |
| 11 } | 11 } |
| 12 | 12 |
| 13 message TestMessage { | 13 message TestMessage { |
| 14 optional int32 fund_int = 1; | 14 optional int32 fund_int = 1; |
| 15 optional string op_comp_string = 2; | 15 optional string op_comp_string = 2; |
| 16 optional bytes op_comp_bytes = 3; | 16 optional bytes op_comp_bytes = 3; |
| 17 optional SubMessage op_comp_sub = 4; | 17 optional SubMessage op_comp_sub = 4; |
| 18 repeated SubMessage rep_comp_sub = 5; | 18 repeated SubMessage rep_comp_sub = 5; |
| 19 } | 19 } |
| OLD | NEW |