Index: components/autofill/core/browser/autofill_field.h |
diff --git a/components/autofill/core/browser/autofill_field.h b/components/autofill/core/browser/autofill_field.h |
index 52137e1af1982b05b8d5f6bce455d15c36eb1334..0e366d25ee8874002330852cef0650335b5a10e6 100644 |
--- a/components/autofill/core/browser/autofill_field.h |
+++ b/components/autofill/core/browser/autofill_field.h |
@@ -14,6 +14,7 @@ |
#include "components/autofill/core/browser/field_types.h" |
#include "components/autofill/core/browser/proto/server.pb.h" |
#include "components/autofill/core/common/form_field_data.h" |
+#include "components/autofill/core/common/signatures_util.h" |
namespace autofill { |
@@ -67,7 +68,10 @@ class AutofillField : public FormFieldData { |
// The unique signature of this field, composed of the field name and the html |
// input type in a 32-bit hash. |
- std::string FieldSignature() const; |
+ FieldSignature FieldSignature() const; |
+ |
+ // Returns the field signature as string. |
+ std::string FieldSignatureAsStr() const; |
// Returns true if the field type has been determined (without the text in the |
// field). |