blob: 4b75ebc62c7bd4bd69c4ff8f1708e965e4b43774 [file] [log] [blame] [edit]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/thumbnail/generator/android/stats.h"
#include "base/metrics/histogram_macros.h"
void RecordMediaParserEvent(MediaParserEvent event) {
UMA_HISTOGRAM_ENUMERATION("Download.MediaParser.Event", event,
MediaParserEvent::kCount);
}
void RecordMediaMetadataEvent(MediaMetadataEvent event) {
UMA_HISTOGRAM_ENUMERATION("Download.MediaMetadata.Event", event,
MediaMetadataEvent::kCount);
}
void RecordVideoThumbnailEvent(VideoThumbnailEvent event) {
UMA_HISTOGRAM_ENUMERATION("Download.VideoThumbnail.Event", event,
VideoThumbnailEvent::kCount);
}