Skip to content
Snippets Groups Projects
Unverified Commit d48ee255 authored by Harsh Vardhan's avatar Harsh Vardhan
Browse files

Update

parent abf9ce25
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ class ProtoBufMethod : public grpc_generator::Method { ...@@ -73,7 +73,7 @@ class ProtoBufMethod : public grpc_generator::Method {
bool get_module_and_message_path_input(grpc::string *str, bool get_module_and_message_path_input(grpc::string *str,
grpc::string generator_file_name, grpc::string generator_file_name,
bool generate_in_pb2_grpc, bool generate_in_pb2_grpc,
grpc::string &import_prefix) const { grpc::string import_prefix) const {
return grpc_python_generator::GetModuleAndMessagePath( return grpc_python_generator::GetModuleAndMessagePath(
method_->input_type(), str, generator_file_name, generate_in_pb2_grpc, method_->input_type(), str, generator_file_name, generate_in_pb2_grpc,
import_prefix); import_prefix);
...@@ -82,7 +82,7 @@ class ProtoBufMethod : public grpc_generator::Method { ...@@ -82,7 +82,7 @@ class ProtoBufMethod : public grpc_generator::Method {
bool get_module_and_message_path_output(grpc::string *str, bool get_module_and_message_path_output(grpc::string *str,
grpc::string generator_file_name, grpc::string generator_file_name,
bool generate_in_pb2_grpc, bool generate_in_pb2_grpc,
grpc::string &import_prefix) const { grpc::string import_prefix) const {
return grpc_python_generator::GetModuleAndMessagePath( return grpc_python_generator::GetModuleAndMessagePath(
method_->output_type(), str, generator_file_name, generate_in_pb2_grpc, method_->output_type(), str, generator_file_name, generate_in_pb2_grpc,
import_prefix); import_prefix);
......
...@@ -72,10 +72,10 @@ struct Method : public CommentHolder { ...@@ -72,10 +72,10 @@ struct Method : public CommentHolder {
virtual bool get_module_and_message_path_input( virtual bool get_module_and_message_path_input(
grpc::string *str, grpc::string generator_file_name, 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( virtual bool get_module_and_message_path_output(
grpc::string *str, grpc::string generator_file_name, 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_input_type_name() const = 0;
virtual grpc::string get_output_type_name() const = 0; virtual grpc::string get_output_type_name() const = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment