diff options
author | 2016-02-19 00:22:20 -0800 | |
---|---|---|
committer | 2016-02-19 00:22:20 -0800 | |
commit | 12a0a2c20b5f377b4495d257ee961a111c3dff6e (patch) | |
tree | 1845f98c2f22f8d3645e8d95ae1c5d970f139130 /test | |
parent | 4c8aed3dbad9fdf749052a79d8f5f608bfb120fe (diff) |
move tls type name to .cc file
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/util/test_credentials_provider.cc | 2 | ||||
-rw-r--r-- | test/cpp/util/test_credentials_provider.h | 1 |
2 files changed, 2 insertions, 1 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) { diff --git a/test/cpp/util/test_credentials_provider.h b/test/cpp/util/test_credentials_provider.h index f4105d94b8..f7253051a9 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. |