| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Protocol messages used only for testing. | 5 // Protocol messages used only for testing. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
| 10 option retain_unknown_fields = true; | 10 option retain_unknown_fields = true; |
| 11 | 11 |
| 12 package sync_pb; | 12 package sync_pb; |
| 13 | 13 |
| 14 message UnknownFieldsTestA { | 14 message UnknownFieldsTestA { |
| 15 required bool foo = 1; | 15 required bool foo = 1; |
| 16 } | 16 } |
| 17 | 17 |
| 18 message UnknownFieldsTestB { | 18 message UnknownFieldsTestB { |
| 19 required bool foo = 1; | 19 required bool foo = 1; |
| 20 required bool bar = 2; | 20 required bool bar = 2; |
| 21 } | 21 } |
| OLD | NEW |