aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/pubsub/subscriber.h
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-08-19 16:28:09 -0700
committerGravatar yang-g <yangg@google.com>2015-08-19 16:28:09 -0700
commit8c2be9f22807870585111d88f5168dd11da99ce1 (patch)
tree2f7d8a372e68cb2c7ad04777e50bfbf927ededc6 /examples/pubsub/subscriber.h
parent89bede02f16905eb48b71710dc4ea2542b3a5ca1 (diff)
Remove ChannelInterface and replace it with Channel
Diffstat (limited to 'examples/pubsub/subscriber.h')
-rw-r--r--examples/pubsub/subscriber.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pubsub/subscriber.h b/examples/pubsub/subscriber.h
index 40ab45471d..87c833102c 100644
--- a/examples/pubsub/subscriber.h
+++ b/examples/pubsub/subscriber.h
@@ -34,7 +34,7 @@
#ifndef GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H
#define GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H
-#include <grpc++/channel_interface.h>
+#include <grpc++/channel.h>
#include <grpc++/status.h>
#include "examples/pubsub/pubsub.grpc.pb.h"
@@ -45,7 +45,7 @@ namespace pubsub {
class Subscriber {
public:
- Subscriber(std::shared_ptr<ChannelInterface> channel);
+ Subscriber(std::shared_ptr<Channel> channel);
void Shutdown();
Status CreateSubscription(const grpc::string& topic,