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

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

Issue 1151763013: [Autofill] remove *MultiInfo* functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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 b14d90772df6bcd6154482a203c582e662f5a259..433099ac6dc9b21c58751459489de3b3f2bb802f 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -69,12 +69,6 @@ class AutofillProfile : public AutofillDataModel {
RecordType record_type() const { return record_type_; }
void set_record_type(RecordType type) { record_type_ = type; }
- // Multi-value equivalents to |GetInfo| and |SetInfo|.
- void SetRawMultiInfo(ServerFieldType type,
- const std::vector<base::string16>& values);
- void GetRawMultiInfo(ServerFieldType type,
- std::vector<base::string16>* values) const;
-
// Returns true if there are no values (field types) set.
bool IsEmpty(const std::string& app_locale) const;
@@ -194,13 +188,6 @@ class AutofillProfile : public AutofillDataModel {
// FormGroup:
void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override;
- // Shared implementation for GetRawMultiInfo() and GetMultiInfo(). Pass an
- // empty |app_locale| to get the raw info; otherwise, the returned info is
- // canonicalized according to the given |app_locale|, if appropriate.
- void GetMultiInfoImpl(const AutofillType& type,
- const std::string& app_locale,
- std::vector<base::string16>* values) const;
-
// Builds inferred label from the first |num_fields_to_include| non-empty
// fields in |label_fields|. Uses as many fields as possible if there are not
// enough non-empty fields.
« no previous file with comments | « components/autofill/core/browser/autofill_merge_unittest.cc ('k') | components/autofill/core/browser/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698