| Index: third_party/zlib/google/compression_utils.h | 
| diff --git a/third_party/zlib/google/compression_utils.h b/third_party/zlib/google/compression_utils.h | 
| index 3bd68c57ec03b5723ed36612ae08ac856253be76..d496ef1af3c9959a50aa6619c99544861bf73160 100644 | 
| --- a/third_party/zlib/google/compression_utils.h | 
| +++ b/third_party/zlib/google/compression_utils.h | 
| @@ -7,6 +7,8 @@ | 
|  | 
| #include <string> | 
|  | 
| +#include "base/strings/string_piece.h" | 
| + | 
| namespace compression { | 
|  | 
| // Compresses the data in |input| using gzip, storing the result in |output|. | 
| @@ -17,6 +19,14 @@ bool GzipCompress(const std::string& input, std::string* output); | 
| // |input| and |output| are allowed to be the same string (in-place operation). | 
| bool GzipUncompress(const std::string& input, std::string* output); | 
|  | 
| +// Like the above method, but uses base::StringPiece to avoid allocations if | 
| +// needed. |output|'s size must be at least as large as the return value from | 
| +// GetUncompressedSize. | 
| +bool GzipUncompress(base::StringPiece input, base::StringPiece output); | 
| + | 
| +// Returns the uncompressed size from GZIP-compressed |compressed_data|. | 
| +uint32_t GetUncompressedSize(base::StringPiece compressed_data); | 
| + | 
| }  // namespace compression | 
|  | 
| #endif  // THIRD_PARTY_ZLIB_GOOGLE_COMPRESSION_UTILS_H_ | 
|  |