aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/test_credentials_provider.cc
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-02-19 00:22:20 -0800
committerGravatar yang-g <yangg@google.com>2016-02-19 00:22:20 -0800
commit12a0a2c20b5f377b4495d257ee961a111c3dff6e (patch)
tree1845f98c2f22f8d3645e8d95ae1c5d970f139130 /test/cpp/util/test_credentials_provider.cc
parent4c8aed3dbad9fdf749052a79d8f5f608bfb120fe (diff)
move tls type name to .cc file
Diffstat (limited to 'test/cpp/util/test_credentials_provider.cc')
-rw-r--r--test/cpp/util/test_credentials_provider.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/util/test_credentials_provider.cc b/test/cpp/util/test_credentials_provider.cc
index 69651700fe..1086e14258 100644
--- a/test/cpp/util/test_credentials_provider.cc
+++ b/test/cpp/util/test_credentials_provider.cc
@@ -39,6 +39,8 @@
namespace grpc {
namespace testing {
+const char kTlsCredentialsType[] = "TLS_CREDENTIALS";
+
std::shared_ptr<ChannelCredentials> GetChannelCredentials(
const grpc::string& type, ChannelArguments* args) {
if (type == kInsecureCredentialsType) {