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 syntax = "proto2"; |
| 6 |
5 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
6 | 8 |
7 // This is a simple dummy protocol buffer that is used for testing handling of | 9 // This is a simple dummy protocol buffer that is used for testing handling of |
8 // protocol buffers in MessageReader and MessageWriter. | 10 // protocol buffers in MessageReader and MessageWriter. |
9 | 11 |
10 message TestProto { | 12 message TestProto { |
11 optional string text = 1; | 13 optional string text = 1; |
12 optional int32 number = 2; | 14 optional int32 number = 2; |
13 } | 15 } |
OLD | NEW |