| 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 e984a5f1514a86057e894c0ef519bb716d186439..934a2b365e493929b2453aaa995f64df14a09e31 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,8 @@ 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.
|
| + void DetermineHeuristicTypes(ukm::UkmService* ukm_service, const GURL& url);
|
|
|
| // Encodes the proto |upload| request from this FormStructure.
|
| // In some cases, a |login_form_signature| is included as part of the upload.
|
|
|