From 12a0a2c20b5f377b4495d257ee961a111c3dff6e Mon Sep 17 00:00:00 2001 From: yang-g Date: Fri, 19 Feb 2016 00:22:20 -0800 Subject: [PATCH] move tls type name to .cc file --- test/cpp/util/test_credentials_provider.cc | 2 ++ test/cpp/util/test_credentials_provider.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cpp/util/test_credentials_provider.cc b/test/cpp/util/test_credentials_provider.cc index 69651700feb..1086e14258b 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 GetChannelCredentials( const grpc::string& type, ChannelArguments* args) { if (type == kInsecureCredentialsType) { diff --git a/test/cpp/util/test_credentials_provider.h b/test/cpp/util/test_credentials_provider.h index f4105d94b83..f7253051a97 100644 --- a/test/cpp/util/test_credentials_provider.h +++ b/test/cpp/util/test_credentials_provider.h @@ -44,7 +44,6 @@ namespace grpc { namespace testing { const char kInsecureCredentialsType[] = "INSECURE_CREDENTIALS"; -const char kTlsCredentialsType[] = "TLS_CREDENTIALS"; // Provide channel credentials according to the given type. Alter the channel // arguments if needed.