pull/8063/head
Harsh Vardhan 8 years ago
parent abf9ce25d9
commit d48ee255b2
No known key found for this signature in database
GPG Key ID: 4A3BADA5BCFFEFD6
  1. 4
      src/compiler/protobuf_plugin.h
  2. 4
      src/compiler/schema_interface.h

@ -73,7 +73,7 @@ class ProtoBufMethod : public grpc_generator::Method {
bool get_module_and_message_path_input(grpc::string *str,
grpc::string generator_file_name,
bool generate_in_pb2_grpc,
grpc::string &import_prefix) const {
grpc::string import_prefix) const {
return grpc_python_generator::GetModuleAndMessagePath(
method_->input_type(), str, generator_file_name, generate_in_pb2_grpc,
import_prefix);
@ -82,7 +82,7 @@ class ProtoBufMethod : public grpc_generator::Method {
bool get_module_and_message_path_output(grpc::string *str,
grpc::string generator_file_name,
bool generate_in_pb2_grpc,
grpc::string &import_prefix) const {
grpc::string import_prefix) const {
return grpc_python_generator::GetModuleAndMessagePath(
method_->output_type(), str, generator_file_name, generate_in_pb2_grpc,
import_prefix);

@ -72,10 +72,10 @@ struct Method : public CommentHolder {
virtual bool get_module_and_message_path_input(
grpc::string *str, grpc::string generator_file_name,
bool generate_in_pb2_grpc) const = 0;
bool generate_in_pb2_grpc, grpc::string import_prefix) const = 0;
virtual bool get_module_and_message_path_output(
grpc::string *str, grpc::string generator_file_name,
bool generate_in_pb2_grpc) const = 0;
bool generate_in_pb2_grpc, grpc::string import_prefix) const = 0;
virtual grpc::string get_input_type_name() const = 0;
virtual grpc::string get_output_type_name() const = 0;

Loading…
Cancel
Save