Rumou Duan | a518f63 | 2016-09-21 21:59:01 +0000 | [diff] [blame] | 1 | // Copyright 2016 The Bazel Authors. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | #include <algorithm> |
| 16 | |
| 17 | #include "third_party/ijar/common.h" |
| 18 | #include "third_party/ijar/zlib_client.h" |
| 19 | |
| 20 | namespace devtools_ijar { |
| 21 | |
| 22 | u4 ComputeCrcChecksum(u1* buf, size_t length) { return 0; } |
| 23 | |
| 24 | size_t TryDeflate(u1* buf, size_t length) { return 0; } |
| 25 | |
| 26 | Decompressor::Decompressor() {} |
| 27 | Decompressor::~Decompressor() {} |
| 28 | |
| 29 | DecompressedFile* Decompressor::UncompressFile(const u1* buffer, |
| 30 | size_t bytes_avail) { |
| 31 | return NULL; |
| 32 | } |
| 33 | |
| 34 | char* Decompressor::GetError() { return NULL; } |
| 35 | |
| 36 | int Decompressor::error(const char* fmt, ...) { return 0; } |
| 37 | } // namespace devtools_ijar |