Upgrade linux protobuf
This commit is contained in:
1 parent
79f2f356d5
commit
0f3130fb47
689 files changed
+141922
-132057
No files matched your search
@@ -40,17 +40,19 @@
|
||||
|
||||
namespace google {
|
||||
namespace protobuf {
|
||||
namespace compiler {
|
||||
namespace java {
|
||||
class Context; // context.h
|
||||
class ClassNameResolver; // name_resolver.h
|
||||
}
|
||||
}
|
||||
namespace io {
|
||||
class Printer; // printer.h
|
||||
}
|
||||
namespace compiler {
|
||||
namespace java {
|
||||
class Context; // context.h
|
||||
class ClassNameResolver; // name_resolver.h
|
||||
} // namespace java
|
||||
} // namespace compiler
|
||||
namespace io {
|
||||
class Printer; // printer.h
|
||||
}
|
||||
} // namespace protobuf
|
||||
} // namespace google
|
||||
|
||||
namespace google {
|
||||
namespace protobuf {
|
||||
namespace compiler {
|
||||
namespace java {
|
||||
@@ -78,10 +80,9 @@ class ImmutableServiceGenerator : public ServiceGenerator {
|
||||
Context* context);
|
||||
virtual ~ImmutableServiceGenerator();
|
||||
|
||||
virtual void Generate(io::Printer* printer);
|
||||
void Generate(io::Printer* printer) override;
|
||||
|
||||
private:
|
||||
|
||||
// Generate the getDescriptorForType() method.
|
||||
void GenerateGetDescriptorForType(io::Printer* printer);
|
||||
|
||||
@@ -123,7 +124,7 @@ class ImmutableServiceGenerator : public ServiceGenerator {
|
||||
const MethodDescriptor* method);
|
||||
|
||||
// Return the output type of the method.
|
||||
string GetOutput(const MethodDescriptor* method);
|
||||
std::string GetOutput(const MethodDescriptor* method);
|
||||
|
||||
Context* context_;
|
||||
ClassNameResolver* name_resolver_;
|
||||
@@ -133,6 +134,6 @@ class ImmutableServiceGenerator : public ServiceGenerator {
|
||||
} // namespace java
|
||||
} // namespace compiler
|
||||
} // namespace protobuf
|
||||
} // namespace google
|
||||
|
||||
#endif // NET_PROTO2_COMPILER_JAVA_SERVICE_H__
|
||||
} // namespace google
|
||||
Reference in new issue
Block a user