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

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

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 d7bd629934a6a01bd18df42688aa96b6e032ac14..f0b8a78a5f92933ddd5dcb0e4a38971080a8de0c 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -33,26 +33,24 @@ class AutofillProfile : public AutofillDataModel {
// For use in STL containers.
AutofillProfile();
AutofillProfile(const AutofillProfile& profile);
- virtual ~AutofillProfile();
+ ~AutofillProfile() override;
AutofillProfile& operator=(const AutofillProfile& profile);
// FormGroup:
- virtual void GetMatchingTypes(
- const base::string16& text,
- const std::string& app_locale,
- ServerFieldTypeSet* matching_types) const override;
- virtual base::string16 GetRawInfo(ServerFieldType type) const override;
- virtual void SetRawInfo(ServerFieldType type,
- const base::string16& value) override;
- virtual base::string16 GetInfo(const AutofillType& type,
- const std::string& app_locale) const override;
- virtual bool SetInfo(const AutofillType& type,
- const base::string16& value,
- const std::string& app_locale) override;
+ void GetMatchingTypes(const base::string16& text,
+ const std::string& app_locale,
+ ServerFieldTypeSet* matching_types) const override;
+ base::string16 GetRawInfo(ServerFieldType type) const override;
+ void SetRawInfo(ServerFieldType type, const base::string16& value) override;
+ base::string16 GetInfo(const AutofillType& type,
+ const std::string& app_locale) const override;
+ bool SetInfo(const AutofillType& type,
+ const base::string16& value,
+ const std::string& app_locale) override;
// AutofillDataModel:
- virtual base::string16 GetInfoForVariant(
+ base::string16 GetInfoForVariant(
const AutofillType& type,
size_t variant,
const std::string& app_locale) const override;
@@ -151,8 +149,7 @@ class AutofillProfile : public AutofillDataModel {
typedef std::vector<const FormGroup*> FormGroupList;
// FormGroup:
- virtual void GetSupportedTypes(
- ServerFieldTypeSet* supported_types) const override;
+ 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
« no previous file with comments | « components/autofill/core/browser/autofill_metrics_unittest.cc ('k') | components/autofill/core/browser/autofill_xml_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698