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

Unified Diff: chrome/browser/ui/autofill/data_model_wrapper.h

Issue 1153663004: [Autofill] Remove (most) support for variants in chrome/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: chrome/browser/ui/autofill/data_model_wrapper.h
diff --git a/chrome/browser/ui/autofill/data_model_wrapper.h b/chrome/browser/ui/autofill/data_model_wrapper.h
index 66d6652bca58b7b282ae938be0c6959ea45eda53..bcc95d94288d97312110c88482d261fa4e814108 100644
--- a/chrome/browser/ui/autofill/data_model_wrapper.h
+++ b/chrome/browser/ui/autofill/data_model_wrapper.h
@@ -94,28 +94,15 @@ class DataModelWrapper {
class AutofillProfileWrapper : public DataModelWrapper {
public:
explicit AutofillProfileWrapper(const AutofillProfile* profile);
- AutofillProfileWrapper(const AutofillProfile* profile,
- const AutofillType& variant_type,
- size_t variant);
~AutofillProfileWrapper() override;
base::string16 GetInfo(const AutofillType& type) const override;
base::string16 GetInfoForDisplay(const AutofillType& type) const override;
const std::string& GetLanguageCode() const override;
- protected:
- // Returns the variant that should be used when dealing with an element that
- // has the given |type|.
- size_t GetVariantForType(const AutofillType& type) const;
-
private:
const AutofillProfile* profile_;
- // The profile variant. |variant_| describes which variant of |variant_group_|
- // to use in the profile.
- FieldTypeGroup variant_group_;
- size_t variant_;
-
DISALLOW_COPY_AND_ASSIGN(AutofillProfileWrapper);
};
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ('k') | chrome/browser/ui/autofill/data_model_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698