aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/client_context.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-01-13 16:02:00 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-01-13 16:02:00 -0800
commite50c6c2f5ed36d8559de5c23364f7e0d656daab8 (patch)
treee40d0ea895f2b158f03d4bd6d4dbf189546738fd /include/grpc++/client_context.h
parent16a7dee6141785092ee2aae4a11d2e9f590a1847 (diff)
WIP. Added ChannelInterface
Diffstat (limited to 'include/grpc++/client_context.h')
-rw-r--r--include/grpc++/client_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h
index a0d5c0e3c4..d94d58a53f 100644
--- a/include/grpc++/client_context.h
+++ b/include/grpc++/client_context.h
@@ -69,6 +69,7 @@ struct census_context;
namespace grpc {
class Channel;
+class ChannelInterface;
class CompletionQueue;
class CallCredentials;
class RpcMethod;
@@ -315,7 +316,7 @@ class ClientContext {
template <class R>
friend class ::grpc::ClientAsyncResponseReader;
template <class InputMessage, class OutputMessage>
- friend Status BlockingUnaryCall(Channel* channel, const RpcMethod& method,
+ friend Status BlockingUnaryCall(ChannelInterface* channel, const RpcMethod& method,
ClientContext* context,
const InputMessage& request,
OutputMessage* result);