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

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc

Issue 2599263002: third_party/protobuf: Update to HEAD (f52e188fe4) (Closed)
Patch Set: Address comments Created 3 years, 12 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 20 matching lines...) Expand all
31 // Author: kenton@google.com (Kenton Varda) 31 // Author: kenton@google.com (Kenton Varda)
32 // Based on original Protocol Buffers design by 32 // Based on original Protocol Buffers design by
33 // Sanjay Ghemawat, Jeff Dean, and others. 33 // Sanjay Ghemawat, Jeff Dean, and others.
34 34
35 #include <algorithm> 35 #include <algorithm>
36 #include <google/protobuf/stubs/hash.h> 36 #include <google/protobuf/stubs/hash.h>
37 #include <limits> 37 #include <limits>
38 #include <vector> 38 #include <vector>
39 39
40 #include <google/protobuf/compiler/csharp/csharp_helpers.h> 40 #include <google/protobuf/compiler/csharp/csharp_helpers.h>
41 #include <google/protobuf/compiler/csharp/csharp_names.h>
41 #include <google/protobuf/descriptor.pb.h> 42 #include <google/protobuf/descriptor.pb.h>
42 #include <google/protobuf/io/printer.h> 43 #include <google/protobuf/io/printer.h>
43 #include <google/protobuf/wire_format.h> 44 #include <google/protobuf/wire_format.h>
44 #include <google/protobuf/stubs/strutil.h> 45 #include <google/protobuf/stubs/strutil.h>
45 #include <google/protobuf/stubs/substitute.h> 46 #include <google/protobuf/stubs/substitute.h>
46 47
47 #include <google/protobuf/compiler/csharp/csharp_field_base.h> 48 #include <google/protobuf/compiler/csharp/csharp_field_base.h>
48 #include <google/protobuf/compiler/csharp/csharp_enum_field.h> 49 #include <google/protobuf/compiler/csharp/csharp_enum_field.h>
49 #include <google/protobuf/compiler/csharp/csharp_map_field.h> 50 #include <google/protobuf/compiler/csharp/csharp_map_field.h>
50 #include <google/protobuf/compiler/csharp/csharp_message_field.h> 51 #include <google/protobuf/compiler/csharp/csharp_message_field.h>
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 return new PrimitiveFieldGenerator(descriptor, fieldOrdinal, options); 498 return new PrimitiveFieldGenerator(descriptor, fieldOrdinal, options);
498 } 499 }
499 } 500 }
500 } 501 }
501 } 502 }
502 503
503 } // namespace csharp 504 } // namespace csharp
504 } // namespace compiler 505 } // namespace compiler
505 } // namespace protobuf 506 } // namespace protobuf
506 } // namespace google 507 } // namespace google
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698