blob: 1754c2717df280f0e619d4b792583a178f3e89b6 [file] [log] [blame]
paulmillerac2fbde2017-04-01 00:25:121// Copyright 2017 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#include "components/metrics/log_decoder.h"
6
7#include "third_party/zlib/google/compression_utils.h"
8
9namespace metrics {
10
11bool DecodeLogData(const std::string& compressed_log_data,
12 std::string* log_data) {
13 return compression::GzipUncompress(compressed_log_data, log_data);
14}
15
16} // namespace metrics