| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BASE_STRINGS_STRING_COMPRESS_H_ |
| 6 #define BASE_STRINGS_STRING_COMPRESS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/base_export.h" |
| 11 |
| 12 namespace base { |
| 13 |
| 14 // Compresses the text in |input| using bzip2, store the result in |output|. |
| 15 // Note, this is currently tuned for data under 100k. |
| 16 BASE_EXPORT bool Bzip2Compress(const std::string& input, std::string* output); |
| 17 |
| 18 } // namespace base |
| 19 |
| 20 #endif // BASE_STRINGS_STRING_COMPRESS_H_ |
| OLD | NEW |