diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-04 17:20:24 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-12 08:15:25 +0000 |
commit | 8fa0776f1f79e91fc9c0b9c1ba11a0a29c05196b (patch) | |
tree | 788d8d7549712682703a0310ca4a0f0860d4802b /chromium/components/autofill/core/browser/autofill_field.h | |
parent | 606d85f2a5386472314d39923da28c70c60dc8e7 (diff) | |
download | qtwebengine-chromium-8fa0776f1f79e91fc9c0b9c1ba11a0a29c05196b.tar.gz |
BASELINE: Update Chromium to 98.0.4758.90
Change-Id: Ib7c41539bf8a8e0376bd639f27d68294de90f3c8
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.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chromium/components/autofill/core/browser/autofill_field.h b/chromium/components/autofill/core/browser/autofill_field.h index e0bb27482ec..33ccb1ac499 100644 --- a/chromium/components/autofill/core/browser/autofill_field.h +++ b/chromium/components/autofill/core/browser/autofill_field.h @@ -12,7 +12,6 @@ #include <utility> #include <vector> -#include "base/macros.h" #include "components/autofill/core/browser/autofill_type.h" #include "components/autofill/core/browser/data_model/autofill_profile.h" #include "components/autofill/core/browser/field_types.h" @@ -40,7 +39,6 @@ class AutofillField : public FormFieldData { AutofillField(); explicit AutofillField(const FormFieldData& field); - AutofillField(const FormFieldData& field, const std::u16string& unique_name); AutofillField(const AutofillField&) = delete; AutofillField& operator=(const AutofillField&) = delete; @@ -53,11 +51,6 @@ class AutofillField : public FormFieldData { static std::unique_ptr<AutofillField> CreateForPasswordManagerUpload( FieldSignature field_signature); - // Unique names are not stable across dynamic change. Use renderer IDs instead - // if possible. - // TODO(crbug/896689): Remove unique_name. - const std::u16string& unique_name() const { return unique_name_; } - ServerFieldType heuristic_type() const { return heuristic_type_; } ServerFieldType server_type() const; bool server_type_prediction_is_override() const; @@ -225,8 +218,6 @@ class AutofillField : public FormFieldData { bool IsCreditCardPrediction() const; absl::optional<FieldSignature> field_signature_; - // The unique name of this field, generated by Autofill. - std::u16string unique_name_; // The possible types of the field, as determined by the Autofill server. std::vector< |