move tls type name to .cc file

pull/5318/head
yang-g 9 years ago
parent 4c8aed3dba
commit 12a0a2c20b
  1. 2
      test/cpp/util/test_credentials_provider.cc
  2. 1
      test/cpp/util/test_credentials_provider.h

@ -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) {

@ -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.

Loading…
Cancel
Save