Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: components/autofill/core/browser/autofill_profile.h

Issue 2972973002: [Payments] When saving an edited address in editor, clear data first. (Closed)
Patch Set: addressed comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_profile.h
diff --git a/components/autofill/core/browser/autofill_profile.h b/components/autofill/core/browser/autofill_profile.h
index a420dbeac1ba9305f49904702ff3ff03624e6fbf..de3311312f3cb788e20707c7b57ab29c90fad82e 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -65,6 +65,7 @@ class AutofillProfile : public AutofillDataModel {
bool SetInfo(const AutofillType& type,
const base::string16& value,
const std::string& app_locale) override;
+ void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override;
// How this card is stored.
RecordType record_type() const { return record_type_; }
@@ -191,9 +192,6 @@ class AutofillProfile : public AutofillDataModel {
private:
typedef std::vector<const FormGroup*> FormGroupList;
- // FormGroup:
- void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override;
-
// Creates inferred labels for |profiles| at indices corresponding to
// |indices|, and stores the results to the corresponding elements of
// |labels|. These labels include enough fields to differentiate among the

Powered by Google App Engine
This is Rietveld 408576698