| Index: base/strings/string_compress.h
|
| diff --git a/base/strings/string_compress.h b/base/strings/string_compress.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3c522b7ffade113cfaab4e23a63de357a1bf9797
|
| --- /dev/null
|
| +++ b/base/strings/string_compress.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef BASE_STRINGS_STRING_COMPRESS_H_
|
| +#define BASE_STRINGS_STRING_COMPRESS_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/base_export.h"
|
| +
|
| +namespace base {
|
| +
|
| +// Compresses the text in |input| using bzip2, store the result in |output|.
|
| +// Note, this is currently tuned for data under 100k.
|
| +BASE_EXPORT bool Bzip2Compress(const std::string& input, std::string* output);
|
| +
|
| +} // namespace base
|
| +
|
| +#endif // BASE_STRINGS_STRING_COMPRESS_H_
|
|
|