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

Side by Side Diff: third_party/protobuf/src/google/protobuf/unittest_proto3_arena_lite.proto

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Protocol Buffers - Google's data interchange format 1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved. 2 // Copyright 2008 Google Inc. All rights reserved.
3 // https://developers.google.com/protocol-buffers/ 3 // https://developers.google.com/protocol-buffers/
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30
31 syntax = "proto3"; 31 syntax = "proto3";
32 32
33 option cc_enable_arenas = true; 33 option cc_enable_arenas = true;
34 option optimize_for = LITE_RUNTIME;
34 35
35 import "google/protobuf/unittest_import.proto"; 36 import "google/protobuf/unittest_import.proto";
36 37
37 package proto3_arena_unittest; 38 package proto3_arena_lite_unittest;
38 39
39 // This proto includes every type of field in both singular and repeated 40 // This proto includes every type of field in both singular and repeated
40 // forms. 41 // forms.
41 message TestAllTypes { 42 message TestAllTypes {
42 message NestedMessage { 43 message NestedMessage {
43 // The field name "b" fails to compile in proto1 because it conflicts with 44 // The field name "b" fails to compile in proto1 because it conflicts with
44 // a local variable named "b" in one of the generated methods. Doh. 45 // a local variable named "b" in one of the generated methods. Doh.
45 // This file needs to compile in proto1 to test backwards-compatibility. 46 // This file needs to compile in proto1 to test backwards-compatibility.
46 int32 bb = 1; 47 int32 bb = 1;
47 } 48 }
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 FOREIGN_ZERO = 0; 198 FOREIGN_ZERO = 0;
198 FOREIGN_FOO = 4; 199 FOREIGN_FOO = 4;
199 FOREIGN_BAR = 5; 200 FOREIGN_BAR = 5;
200 FOREIGN_BAZ = 6; 201 FOREIGN_BAZ = 6;
201 } 202 }
202 203
203 // TestEmptyMessage is used to test behavior of unknown fields. 204 // TestEmptyMessage is used to test behavior of unknown fields.
204 message TestEmptyMessage { 205 message TestEmptyMessage {
205 } 206 }
206 207
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698