summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/autofill_field.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-05-12 15:59:20 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-05-25 06:57:22 +0000
commitf7eaed5286974984ba5f9e3189d8f49d03e99f81 (patch)
treecaed19b2af2024f35449fb0b781d0a25e09d4f8f /chromium/components/autofill/core/browser/autofill_field.h
parent9729c4479fe23554eae6e6dd1f30ff488f470c84 (diff)
downloadqtwebengine-chromium-f7eaed5286974984ba5f9e3189d8f49d03e99f81.tar.gz
BASELINE: Update Chromium to 100.0.4896.167
Change-Id: I98cbeb5d7543d966ffe04d8cefded0c493a11333 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/autofill/core/browser/autofill_field.h')
-rw-r--r--chromium/components/autofill/core/browser/autofill_field.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/components/autofill/core/browser/autofill_field.h b/chromium/components/autofill/core/browser/autofill_field.h
index 33ccb1ac499..cdb802dce05 100644
--- a/chromium/components/autofill/core/browser/autofill_field.h
+++ b/chromium/components/autofill/core/browser/autofill_field.h
@@ -202,6 +202,17 @@ class AutofillField : public FormFieldData {
return single_username_vote_type_;
}
+ // Getter and Setter methods for
+ // |value_not_autofilled_over_existing_value_hash_|.
+ void set_value_not_autofilled_over_existing_value_hash(
+ absl::optional<size_t> value_not_autofilled_over_existing_value_hash) {
+ value_not_autofilled_over_existing_value_hash_ =
+ value_not_autofilled_over_existing_value_hash;
+ }
+ absl::optional<size_t> value_not_autofilled_over_existing_value_hash() const {
+ return value_not_autofilled_over_existing_value_hash_;
+ }
+
// For each type in |possible_types_| that's missing from
// |possible_types_validities_|, will add it to the
// |possible_types_validities_| and will set its validity to UNVALIDATED. This
@@ -299,6 +310,10 @@ class AutofillField : public FormFieldData {
// Strength of the single username vote signal, if applicable.
absl::optional<AutofillUploadContents::Field::SingleUsernameVoteType>
single_username_vote_type_;
+
+ // Stores the hash of the value which is supposed to be autofilled in the
+ // field but was not due to a prefilled value.
+ absl::optional<size_t> value_not_autofilled_over_existing_value_hash_;
};
} // namespace autofill