Name changes in compiler
diff --git a/src/compiler/objective_c_generator.cc b/src/compiler/objective_c_generator.cc
index eb67e9b..0a6b64f 100644
--- a/src/compiler/objective_c_generator.cc
+++ b/src/compiler/objective_c_generator.cc
@@ -127,11 +127,11 @@
printer->Print(vars, "- ($return_type$)$method_name$With");
if (method->client_streaming()) {
- printer->Print("ResponseHandler:(id<GRPCResponseHandler>)handler");
+ printer->Print("ResponseHandler:(id<GRPCProtoResponseHandler>)handler");
} else {
printer->Print(vars,
"Message:($request_class$ *)message "
- "responseHandler:(id<GRPCResponseHandler>)handler");
+ "responseHandler:(id<GRPCProtoResponseHandler>)handler");
}
printer->Print(" callOptions:(GRPCCallOptions *_Nullable)callOptions");
}
diff --git a/src/compiler/objective_c_plugin.cc b/src/compiler/objective_c_plugin.cc
index d0ef9ed..8797709 100644
--- a/src/compiler/objective_c_plugin.cc
+++ b/src/compiler/objective_c_plugin.cc
@@ -98,7 +98,7 @@
"@class GRPCUnaryProtoCall;\n"
"@class GRPCStreamingProtoCall;\n"
"@class GRPCCallOptions;\n"
- "@protocol GRPCResponseHandler;\n"
+ "@protocol GRPCProtoResponseHandler;\n"
"\n";
::grpc::string class_declarations =