From c30a6232df03e1efbd9f3b226777b07e087a1122 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 12 Oct 2020 14:27:29 +0200 Subject: BASELINE: Update Chromium to 85.0.4183.140 Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen --- chromium/components/metrics/log_decoder.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'chromium/components/metrics/log_decoder.h') diff --git a/chromium/components/metrics/log_decoder.h b/chromium/components/metrics/log_decoder.h index c85037f932c..f6a7969642b 100644 --- a/chromium/components/metrics/log_decoder.h +++ b/chromium/components/metrics/log_decoder.h @@ -7,6 +7,14 @@ #include +namespace google { +namespace protobuf { + +class MessageLite; + +} // namespace protobuf +} // namespace google + namespace metrics { // Other modules can call this function instead of directly calling gzip. This @@ -16,6 +24,11 @@ namespace metrics { bool DecodeLogData(const std::string& compressed_log_data, std::string* log_data); +// Decodes |compressed_log_data| and populates |proto| with the decompressed log +// data. Returns true on success and false on failure. +bool DecodeLogDataToProto(const std::string& compressed_log_data, + google::protobuf::MessageLite* proto); + } // namespace metrics #endif // COMPONENTS_METRICS_LOG_DECODER_H_ -- cgit v1.2.1