Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1856)

Unified Diff: base/strings/string_compress.h

Issue 12529024: Fix feedback log collection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698