| 27 | namespace policy { |
| 28 | |
| 29 | const char* Format2CStr(google::protobuf::io::GzipOutputStream::Format format) { |
| 30 | switch (format) { |
| 31 | case google::protobuf::io::GzipOutputStream::GZIP: |
| 32 | return "gzip"; |
| 33 | case google::protobuf::io::GzipOutputStream::ZLIB: |
| 34 | return "zlib"; |
| 35 | default: |
| 36 | return "unknown"; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | const char* Format2CStr(google::protobuf::io::GzipInputStream::Format format) { |
| 41 | switch (format) { |
no outgoing calls
no test coverage detected