summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics/compression_utils.h
blob: ec208ec41a1336dbb7b4f322d83b3727ffa4535c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2013 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 CHROME_BROWSER_METRICS_COMPRESSION_UTILS_H_
#define CHROME_BROWSER_METRICS_COMPRESSION_UTILS_H_

#include <string>

namespace chrome {

// Compresses the text in |input| using gzip storing the result in |output|.
bool GzipCompress(const std::string& input, std::string* output);

}  // namespace chrome

#endif  // CHROME_BROWSER_METRICS_COMPRESSION_UTILS_H_