diff options
author | David Garcia Quintas <dgq@google.com> | 2015-08-18 16:46:53 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-08-18 16:46:53 -0700 |
commit | 81491b60430d5ca488cdd6e2e28f3bc2f5d9c6e2 (patch) | |
tree | 9a927a394fbbeb0c8648f841e9b8d8ba7e52c077 /test/cpp/interop/client_helper.cc | |
parent | 0137ae35612e9f3a8849b92cb6a9bd27cb64d33b (diff) |
Removed function introducing dependency on proto in .h
Diffstat (limited to 'test/cpp/interop/client_helper.cc')
-rw-r--r-- | test/cpp/interop/client_helper.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/cpp/interop/client_helper.cc b/test/cpp/interop/client_helper.cc index 65fdc63b43..b8a222c54a 100644 --- a/test/cpp/interop/client_helper.cc +++ b/test/cpp/interop/client_helper.cc @@ -65,8 +65,6 @@ DECLARE_string(default_service_account); DECLARE_string(service_account_key_file); DECLARE_string(oauth_scope); -using grpc::testing::CompressionType; - namespace grpc { namespace testing { @@ -143,20 +141,6 @@ std::shared_ptr<ChannelInterface> CreateChannelForTestCase( } } -CompressionType GetInteropCompressionTypeFromCompressionAlgorithm( - grpc_compression_algorithm algorithm) { - switch (algorithm) { - case GRPC_COMPRESS_NONE: - return CompressionType::NONE; - case GRPC_COMPRESS_GZIP: - return CompressionType::GZIP; - case GRPC_COMPRESS_DEFLATE: - return CompressionType::DEFLATE; - default: - GPR_ASSERT(false); - } -} - InteropClientContextInspector::InteropClientContextInspector( const ::grpc::ClientContext& context) : context_(context) {} |