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

Unified Diff: components/autofill/core/browser/autofill_data_model_unittest.cc

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_data_model_unittest.cc
diff --git a/components/autofill/core/browser/autofill_data_model_unittest.cc b/components/autofill/core/browser/autofill_data_model_unittest.cc
index dc861a7a559d2d6d18ac01ed814ebce6f663a0d7..dec20271d629e262b4224281028d7e372f3a1999 100644
--- a/components/autofill/core/browser/autofill_data_model_unittest.cc
+++ b/components/autofill/core/browser/autofill_data_model_unittest.cc
@@ -16,16 +16,14 @@ class TestAutofillDataModel : public AutofillDataModel {
public:
TestAutofillDataModel(const std::string& guid, const std::string& origin)
: AutofillDataModel(guid, origin) {}
- virtual ~TestAutofillDataModel() {}
+ ~TestAutofillDataModel() override {}
private:
- virtual base::string16 GetRawInfo(ServerFieldType type) const override {
+ base::string16 GetRawInfo(ServerFieldType type) const override {
return base::string16();
}
- virtual void SetRawInfo(ServerFieldType type,
- const base::string16& value) override {}
- virtual void GetSupportedTypes(
- ServerFieldTypeSet* supported_types) const override {}
+ void SetRawInfo(ServerFieldType type, const base::string16& value) override {}
+ void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override {}
DISALLOW_COPY_AND_ASSIGN(TestAutofillDataModel);
};
« no previous file with comments | « components/autofill/core/browser/autofill_data_model.h ('k') | components/autofill/core/browser/autofill_download_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698