aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-07-12 14:02:27 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-07-12 14:02:27 -0700
commitf9ff554fd28065c4de6716620b6cf0a6a57e6113 (patch)
tree17c2ba0dc4ac1cfc3461531b25e692a6acef5050
parentdfe402781ec62c7fd15f63423fc89e307839af5c (diff)
Add COUNT for stream compression method
-rw-r--r--src/core/lib/compression/stream_compression.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/compression/stream_compression.h b/src/core/lib/compression/stream_compression.h
index cf009fdadd..844dff81a3 100644
--- a/src/core/lib/compression/stream_compression.h
+++ b/src/core/lib/compression/stream_compression.h
@@ -32,7 +32,8 @@ typedef struct grpc_stream_compression_context {
typedef enum grpc_stream_compression_method {
GRPC_STREAM_COMPRESSION_COMPRESS = 0,
- GRPC_STREAM_COMPRESSION_DECOMPRESS
+ GRPC_STREAM_COMPRESSION_DECOMPRESS,
+ GRPC_STREAM_COMPRESSION_METHOD_COUNT
} grpc_stream_compression_method;
typedef enum grpc_stream_compression_flush {