| 221 | } |
| 222 | |
| 223 | Result<std::shared_ptr<Decompressor>> MakeDecompressor() override { |
| 224 | auto ptr = std::make_shared<BrotliDecompressor>(); |
| 225 | RETURN_NOT_OK(ptr->Init()); |
| 226 | return ptr; |
| 227 | } |
| 228 | |
| 229 | Status Init() override { |
| 230 | if (window_bits_ < BROTLI_MIN_WINDOW_BITS || window_bits_ > BROTLI_MAX_WINDOW_BITS) { |