| 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 0047a3e55eda05ab987a26b68586fe7376b61b56..235d474600ce2db317266430d8a7adcc2262262c 100644
|
| --- a/components/autofill/core/browser/form_structure.h
|
| +++ b/components/autofill/core/browser/form_structure.h
|
| @@ -37,6 +37,10 @@ namespace rappor {
|
| class RapporServiceImpl;
|
| }
|
|
|
| +namespace ukm {
|
| +class UkmService;
|
| +}
|
| +
|
| namespace autofill {
|
|
|
| struct FormData;
|
| @@ -50,8 +54,9 @@ class FormStructure {
|
| virtual ~FormStructure();
|
|
|
| // Runs several heuristics against the form fields to determine their possible
|
| - // types.
|
| - void DetermineHeuristicTypes();
|
| + // types. If |ukm_service| is specified, logs UKM for the form structure
|
| + // corresponding to |source_url_|.
|
| + void DetermineHeuristicTypes(ukm::UkmService* ukm_service);
|
|
|
| // Encodes the proto |upload| request from this FormStructure.
|
| // In some cases, a |login_form_signature| is included as part of the upload.
|
|
|