#ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_METRICS_H_
#define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_METRICS_H_
#include <cstddef>
#include "base/values.h"
#include "build/chromeos_buildflags.h"
#include "printing/mojom/print.mojom-forward.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chromeos/crosapi/mojom/extension_printer.mojom-forward.h"
#endif
namespace base {
class TimeTicks;
}
namespace printing {
enum class PrintDocumentTypeBuckets { … };
enum class PrintSettingsBuckets { … };
enum class UserActionBuckets { … };
void ReportNumberOfPrinters(size_t number);
void ReportPrintDocumentTypeHistograms(PrintDocumentTypeBuckets doctype);
void ReportPrintSettingsStats(const base::Value::Dict& print_settings,
const base::Value::Dict& preview_settings,
bool is_pdf);
void ReportUserActionHistogram(UserActionBuckets event);
void RecordGetPrintersTimeHistogram(mojom::PrinterType printer_type,
const base::TimeTicks& start_time);
#if BUILDFLAG(IS_CHROMEOS_ASH)
void ReportLacrosExtensionPrintJobStatusFromAshHistogram(
crosapi::mojom::StartPrintStatus status);
#endif
}
#endif