From 3e19babc1e53a31b393ddc84f7c7b6fcd100e4ef Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Wed, 30 Jun 2021 19:55:08 -0700 Subject: [PATCH] Remove all possible traces of grpc::experimental for callback API (#26584) --- include/grpcpp/impl/codegen/client_callback.h | 27 ------------------- include/grpcpp/impl/codegen/server_callback.h | 11 ++------ 2 files changed, 2 insertions(+), 36 deletions(-) diff --git a/include/grpcpp/impl/codegen/client_callback.h b/include/grpcpp/impl/codegen/client_callback.h index 7d38ea5ca2e..dea0cae492a 100644 --- a/include/grpcpp/impl/codegen/client_callback.h +++ b/include/grpcpp/impl/codegen/client_callback.h @@ -1226,32 +1226,5 @@ class ClientCallbackUnaryFactory { }; } // namespace internal - -// TODO(vjpai): Remove namespace experimental when de-experimentalized fully. -namespace experimental { - -template -using ClientCallbackReader = ::grpc::ClientCallbackReader; - -template -using ClientCallbackWriter = ::grpc::ClientCallbackWriter; - -template -using ClientCallbackReaderWriter = - ::grpc::ClientCallbackReaderWriter; - -template -using ClientReadReactor = ::grpc::ClientReadReactor; - -template -using ClientWriteReactor = ::grpc::ClientWriteReactor; - -template -using ClientBidiReactor = ::grpc::ClientBidiReactor; - -typedef ::grpc::ClientUnaryReactor ClientUnaryReactor; - -} // namespace experimental - } // namespace grpc #endif // GRPCPP_IMPL_CODEGEN_CLIENT_CALLBACK_H diff --git a/include/grpcpp/impl/codegen/server_callback.h b/include/grpcpp/impl/codegen/server_callback.h index 513213da14b..70b4a36a3df 100644 --- a/include/grpcpp/impl/codegen/server_callback.h +++ b/include/grpcpp/impl/codegen/server_callback.h @@ -783,20 +783,13 @@ using UnimplementedBidiReactor = } // namespace internal -// TODO(vjpai): Remove namespace experimental when de-experimentalized fully. +// TODO(vjpai): Remove namespace experimental when last known users are migrated +// off. namespace experimental { -template -using ServerReadReactor = ::grpc::ServerReadReactor; - -template -using ServerWriteReactor = ::grpc::ServerWriteReactor; - template using ServerBidiReactor = ::grpc::ServerBidiReactor; -using ServerUnaryReactor = ::grpc::ServerUnaryReactor; - } // namespace experimental } // namespace grpc