diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-10-22 10:39:27 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-10-22 10:39:27 -0700 |
commit | b358ef85dc5a19c43929002b96cabc281b04d8bd (patch) | |
tree | 15fb1939d6b3580d33b53db8713c6bddbb52340f /include/grpcpp/impl/codegen/channel_interface.h | |
parent | 9b83b7d19e0a3e14dbfca2f40fa8157547c190f4 (diff) | |
parent | 340bffa55560f02944dd81413aa764081a60f329 (diff) |
Merge branch 'master' into interceptors
Diffstat (limited to 'include/grpcpp/impl/codegen/channel_interface.h')
-rw-r--r-- | include/grpcpp/impl/codegen/channel_interface.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/grpcpp/impl/codegen/channel_interface.h b/include/grpcpp/impl/codegen/channel_interface.h index 4427f55f35..03fa502df6 100644 --- a/include/grpcpp/impl/codegen/channel_interface.h +++ b/include/grpcpp/impl/codegen/channel_interface.h @@ -20,6 +20,7 @@ #define GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H #include <grpc/impl/codegen/connectivity_state.h> +#include <grpcpp/impl/codegen/call_wrapper.h> #include <grpcpp/impl/codegen/status.h> #include <grpcpp/impl/codegen/time.h> @@ -121,6 +122,15 @@ class ChannelInterface { CompletionQueue* cq, void* tag) = 0; virtual bool WaitForStateChangeImpl(grpc_connectivity_state last_observed, gpr_timespec deadline) = 0; + // This is needed to keep codegen_test_minimal happy. InterceptedChannel needs + // to make use of this but can't directly call Channel's implementation + // because of the test. + virtual internal::Call CreateCallInternal(const internal::RpcMethod& method, + ClientContext* context, + CompletionQueue* cq, + int interceptor_pos) { + return internal::Call(); + } // EXPERIMENTAL // A method to get the callbackable completion queue associated with this |