aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/pubsub/publisher.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pubsub/publisher.h')
-rw-r--r--examples/pubsub/publisher.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/pubsub/publisher.h b/examples/pubsub/publisher.h
index 33bcf98df4..02e6194b0b 100644
--- a/examples/pubsub/publisher.h
+++ b/examples/pubsub/publisher.h
@@ -34,8 +34,7 @@
#ifndef GRPC_EXAMPLES_PUBSUB_PUBLISHER_H
#define GRPC_EXAMPLES_PUBSUB_PUBLISHER_H
-#include <grpc++/channel_interface.h>
-#include <grpc++/status.h>
+#include <grpc++/channel.h>
#include "examples/pubsub/pubsub.grpc.pb.h"
@@ -45,7 +44,7 @@ namespace pubsub {
class Publisher {
public:
- Publisher(std::shared_ptr<ChannelInterface> channel);
+ Publisher(std::shared_ptr<Channel> channel);
void Shutdown();
Status CreateTopic(const grpc::string& topic);