| // Copyright 2022 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef PDF_METRICS_HANDLER_H_ |
| #define PDF_METRICS_HANDLER_H_ |
| #include "pdf/document_attachment_info.h" |
| // Handles various UMA metrics. Note that action metrics are handled separately. |
| MetricsHandler(const MetricsHandler& other) = delete; |
| MetricsHandler& operator=(const MetricsHandler& other) = delete; |
| void RecordAttachmentTypes( |
| const std::vector<DocumentAttachmentInfo>& attachments); |
| void RecordDocumentMetrics(const DocumentMetadata& metadata); |
| } // namespace chrome_pdf |
| #endif // PDF_METRICS_HANDLER_H_ |