aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/ext
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-07-19 15:19:43 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-07-19 15:19:43 -0700
commitb47214952bafad402b6854f20bb546d828bf5573 (patch)
treea524e6a54a60235f3ef837279879e258ce998490 /include/grpcpp/ext
parent6104e4f33b4d2e735ae1c69df1a3fd5d57c931a4 (diff)
reviewer feedback
Diffstat (limited to 'include/grpcpp/ext')
-rw-r--r--include/grpcpp/ext/channelz_service_plugin.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/include/grpcpp/ext/channelz_service_plugin.h b/include/grpcpp/ext/channelz_service_plugin.h
index d01372b065..4a748a9880 100644
--- a/include/grpcpp/ext/channelz_service_plugin.h
+++ b/include/grpcpp/ext/channelz_service_plugin.h
@@ -25,31 +25,13 @@
#include <grpcpp/impl/server_initializer.h>
#include <grpcpp/support/config.h>
-#include "src/cpp/server/channelz/channelz_service.h"
-
namespace grpc {
namespace channelz {
namespace experimental {
-// This plugin is experimental for now. Track progress in
-// https://github.com/grpc/grpc/issues/15988.
-class ChannelzServicePlugin : public ::grpc::ServerBuilderPlugin {
- public:
- ChannelzServicePlugin();
- ::grpc::string name() override;
- void InitServer(::grpc::ServerInitializer* si) override;
- void Finish(::grpc::ServerInitializer* si) override;
- void ChangeArguments(const ::grpc::string& name, void* value) override;
- bool has_async_methods() const override;
- bool has_sync_methods() const override;
-
- private:
- std::shared_ptr<grpc::ChannelzService> channelz_service_;
-};
-
/// Add channelz server plugin to \a ServerBuilder. This function should
/// be called at static initialization time.
-void InitChannelzServerBuilderPlugin();
+void InitChannelzServiceBuilderPlugin();
} // namespace experimental
} // namespace channelz