| Index: components/autofill/core/browser/form_structure.h
|
| diff --git a/components/autofill/core/browser/form_structure.h b/components/autofill/core/browser/form_structure.h
|
| index 2890f67278c5d410b71cb7c1a4936533a0905817..5365ec17fff1b5c34a866c87e25731f792303f7a 100644
|
| --- a/components/autofill/core/browser/form_structure.h
|
| +++ b/components/autofill/core/browser/form_structure.h
|
| @@ -18,6 +18,7 @@
|
| #include "base/strings/string16.h"
|
| #include "base/strings/string_piece.h"
|
| #include "components/autofill/core/browser/autofill_field.h"
|
| +#include "components/autofill/core/browser/autofill_metrics.h"
|
| #include "components/autofill/core/browser/autofill_type.h"
|
| #include "components/autofill/core/browser/field_types.h"
|
| #include "components/autofill/core/browser/proto/server.pb.h"
|
| @@ -132,12 +133,16 @@ class FormStructure {
|
| // indicates whether this method is called as a result of observing a
|
| // submission event (otherwise, it may be that an upload was triggered after
|
| // a form was unfocused or a navigation occurred).
|
| - void LogQualityMetrics(const base::TimeTicks& load_time,
|
| - const base::TimeTicks& interaction_time,
|
| - const base::TimeTicks& submission_time,
|
| - rappor::RapporServiceImpl* rappor_service,
|
| - bool did_show_suggestions,
|
| - bool observed_submission) const;
|
| + // TODO(sebsg): We log more than quality metrics. Maybe rename or split
|
| + // function?
|
| + void LogQualityMetrics(
|
| + const base::TimeTicks& load_time,
|
| + const base::TimeTicks& interaction_time,
|
| + const base::TimeTicks& submission_time,
|
| + rappor::RapporServiceImpl* rappor_service,
|
| + AutofillMetrics::FormInteractionsUkmLogger* form_interactions_ukm_logger,
|
| + bool did_show_suggestions,
|
| + bool observed_submission) const;
|
|
|
| // Log the quality of the heuristics and server predictions for this form
|
| // structure, if autocomplete attributes are present on the fields (they are
|
|
|