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

Unified Diff: components/autofill/core/browser/test_personal_data_manager.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/test_personal_data_manager.h
diff --git a/components/autofill/core/browser/test_personal_data_manager.h b/components/autofill/core/browser/test_personal_data_manager.h
index ede08aa3979bde87ee610741cda7242f04b06251..ac17657efb8dab2eb5ffb078a22d980d676db1f0 100644
--- a/components/autofill/core/browser/test_personal_data_manager.h
+++ b/components/autofill/core/browser/test_personal_data_manager.h
@@ -17,7 +17,7 @@ namespace autofill {
class TestPersonalDataManager : public PersonalDataManager {
public:
TestPersonalDataManager();
- virtual ~TestPersonalDataManager();
+ ~TestPersonalDataManager() override;
// Adds |profile| to |profiles_|. This does not take ownership of |profile|.
void AddTestingProfile(AutofillProfile* profile);
@@ -26,18 +26,17 @@ class TestPersonalDataManager : public PersonalDataManager {
// |credit_card|.
void AddTestingCreditCard(CreditCard* credit_card);
- virtual const std::vector<AutofillProfile*>& GetProfiles() const override;
- virtual const std::vector<AutofillProfile*>& web_profiles() const override;
- virtual const std::vector<CreditCard*>& GetCreditCards() const override;
+ const std::vector<AutofillProfile*>& GetProfiles() const override;
+ const std::vector<AutofillProfile*>& web_profiles() const override;
+ const std::vector<CreditCard*>& GetCreditCards() const override;
- virtual std::string SaveImportedProfile(
+ std::string SaveImportedProfile(
const AutofillProfile& imported_profile) override;
- virtual std::string SaveImportedCreditCard(
+ std::string SaveImportedCreditCard(
const CreditCard& imported_credit_card) override;
- virtual std::string CountryCodeForCurrentTimezone() const override;
- virtual const std::string& GetDefaultCountryCodeForNewAddress() const
- override;
+ std::string CountryCodeForCurrentTimezone() const override;
+ const std::string& GetDefaultCountryCodeForNewAddress() const override;
void set_timezone_country_code(const std::string& timezone_country_code) {
timezone_country_code_ = timezone_country_code;
« no previous file with comments | « components/autofill/core/browser/test_autofill_driver.h ('k') | components/autofill/core/browser/webdata/autofill_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698