#include <utility>
#include "base/metrics/histogram_functions.h"
#include "third_party/blink/renderer/core/content_capture/content_capture_task_histogram_reporter.h"
namespace blink {
constexpr char ContentCaptureTaskHistogramReporter::kCaptureContentTime[];
constexpr char ContentCaptureTaskHistogramReporter::kCaptureContentDelayTime[];
constexpr char ContentCaptureTaskHistogramReporter::kSendContentTime[];
constexpr char ContentCaptureTaskHistogramReporter::kSentContentCount[];
constexpr char ContentCaptureTaskHistogramReporter::kTaskDelayInMs[];
constexpr char ContentCaptureTaskHistogramReporter::kTaskRunsPerCapture[];
ContentCaptureTaskHistogramReporter::ContentCaptureTaskHistogramReporter()
: … { … }
ContentCaptureTaskHistogramReporter::~ContentCaptureTaskHistogramReporter() =
default;
void ContentCaptureTaskHistogramReporter::OnContentChanged() { … }
void ContentCaptureTaskHistogramReporter::OnTaskScheduled(
bool record_task_delay) { … }
void ContentCaptureTaskHistogramReporter::OnTaskRun() { … }
void ContentCaptureTaskHistogramReporter::OnCaptureContentStarted() { … }
void ContentCaptureTaskHistogramReporter::OnCaptureContentEnded(
size_t captured_content_count) { … }
void ContentCaptureTaskHistogramReporter::OnSendContentStarted() { … }
void ContentCaptureTaskHistogramReporter::OnSendContentEnded(
size_t sent_content_count) { … }
void ContentCaptureTaskHistogramReporter::OnAllCapturedContentSent() { … }
void ContentCaptureTaskHistogramReporter::RecordsSentContentCountPerDocument(
int sent_content_count) { … }
}