diff options
author | 2017-05-09 14:45:44 -0700 | |
---|---|---|
committer | 2017-05-09 14:45:44 -0700 | |
commit | 937dba3ea1039abdd27295f1312c658b9e348cd3 (patch) | |
tree | 672f18becd540b46e6221dc5569a22dddc1336ba /src/core/ext/filters/workarounds | |
parent | 3db618efe11e9461633c1218d87a802f870825f4 (diff) |
Put workaround list somewhere accessable by wrapping languages
Diffstat (limited to 'src/core/ext/filters/workarounds')
-rw-r--r-- | src/core/ext/filters/workarounds/workaround_utils.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/ext/filters/workarounds/workaround_utils.h b/src/core/ext/filters/workarounds/workaround_utils.h index e563f07632..19528ab165 100644 --- a/src/core/ext/filters/workarounds/workaround_utils.h +++ b/src/core/ext/filters/workarounds/workaround_utils.h @@ -32,14 +32,12 @@ #ifndef GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS_H #define GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS_H +#include <grpc/support/workaround_list.h> + #include "src/core/lib/transport/metadata.h" #define GRPC_WORKAROUND_PRIORITY_HIGH 10001 - -typedef enum { - GRPC_WORKAROUND_ID_CRONET_COMPRESSION = 0, - GRPC_MAX_WORKAROUND_ID, -} grpc_workaround_list; +#define GRPC_WORKAROUND_PROIRITY_LOW 9999 typedef struct grpc_workaround_user_agent_md { bool workaround_active[GRPC_MAX_WORKAROUND_ID]; |