diff options
Diffstat (limited to 'test/cpp/util/create_test_channel.h')
-rw-r--r-- | test/cpp/util/create_test_channel.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/cpp/util/create_test_channel.h b/test/cpp/util/create_test_channel.h index 17b519ecb0..4e326559bf 100644 --- a/test/cpp/util/create_test_channel.h +++ b/test/cpp/util/create_test_channel.h @@ -37,14 +37,11 @@ #include <memory> #include <grpc++/config.h> +#include <grpc++/credentials.h> namespace grpc { class ChannelInterface; -std::shared_ptr<ChannelInterface> CreateTestChannel( - const grpc::string& server, const grpc::string& override_hostname, - bool enable_ssl); - std::shared_ptr<ChannelInterface> CreateTestChannel(const grpc::string& server, bool enable_ssl); @@ -52,6 +49,11 @@ std::shared_ptr<ChannelInterface> CreateTestChannel( const grpc::string& server, const grpc::string& override_hostname, bool enable_ssl, bool use_prod_roots); +std::shared_ptr<ChannelInterface> CreateTestChannel( + const grpc::string& server, const grpc::string& override_hostname, + bool enable_ssl, bool use_prod_roots, + const std::unique_ptr<Credentials>& creds); + } // namespace grpc #endif // __GRPCPP_TEST_UTIL_CREATE_TEST_CHANNEL_H_ |