Index: third_party/protobuf/src/google/protobuf/compiler/java/java_service.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/java/java_service.h b/third_party/protobuf/src/google/protobuf/compiler/java/java_service.h |
index 6707e821a9f2fb60766c8342b36929332a73a136..12b3f94266fffb0c110341e582c8d3b67275f1cb 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/java/java_service.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/java/java_service.h |
@@ -74,8 +74,8 @@ class ServiceGenerator { |
class ImmutableServiceGenerator : public ServiceGenerator { |
public: |
- explicit ImmutableServiceGenerator(const ServiceDescriptor* descriptor, |
- Context* context); |
+ ImmutableServiceGenerator(const ServiceDescriptor* descriptor, |
+ Context* context); |
virtual ~ImmutableServiceGenerator(); |
virtual void Generate(io::Printer* printer); |
@@ -122,6 +122,9 @@ class ImmutableServiceGenerator : public ServiceGenerator { |
void GenerateBlockingMethodSignature(io::Printer* printer, |
const MethodDescriptor* method); |
+ // Return the output type of the method. |
+ string GetOutput(const MethodDescriptor* method); |
+ |
Context* context_; |
ClassNameResolver* name_resolver_; |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ImmutableServiceGenerator); |