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

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.h

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years 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 29 matching lines...) Expand all
40 #include <google/protobuf/compiler/java/java_field.h> 40 #include <google/protobuf/compiler/java/java_field.h>
41 #include <google/protobuf/compiler/java/java_message.h> 41 #include <google/protobuf/compiler/java/java_message.h>
42 42
43 namespace google { 43 namespace google {
44 namespace protobuf { 44 namespace protobuf {
45 namespace compiler { 45 namespace compiler {
46 namespace java { 46 namespace java {
47 47
48 class ImmutableMessageLiteGenerator : public MessageGenerator { 48 class ImmutableMessageLiteGenerator : public MessageGenerator {
49 public: 49 public:
50 explicit ImmutableMessageLiteGenerator(const Descriptor* descriptor, 50 ImmutableMessageLiteGenerator(const Descriptor* descriptor, Context* context);
51 Context* context);
52 virtual ~ImmutableMessageLiteGenerator(); 51 virtual ~ImmutableMessageLiteGenerator();
53 52
54 virtual void Generate(io::Printer* printer); 53 virtual void Generate(io::Printer* printer);
55 virtual void GenerateInterface(io::Printer* printer); 54 virtual void GenerateInterface(io::Printer* printer);
56 virtual void GenerateExtensionRegistrationCode(io::Printer* printer); 55 virtual void GenerateExtensionRegistrationCode(io::Printer* printer);
57 virtual void GenerateStaticVariables( 56 virtual void GenerateStaticVariables(
58 io::Printer* printer, int* bytecode_estimate); 57 io::Printer* printer, int* bytecode_estimate);
59 virtual int GenerateStaticVariableInitializers(io::Printer* printer); 58 virtual int GenerateStaticVariableInitializers(io::Printer* printer);
60 59
61 private: 60 private:
(...skipping 22 matching lines...) Expand all
84 83
85 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ImmutableMessageLiteGenerator); 84 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ImmutableMessageLiteGenerator);
86 }; 85 };
87 86
88 } // namespace java 87 } // namespace java
89 } // namespace compiler 88 } // namespace compiler
90 } // namespace protobuf 89 } // namespace protobuf
91 90
92 } // namespace google 91 } // namespace google
93 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_LITE_H__ 92 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_LITE_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698