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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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: chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
index 4e7b48a1a134f0c9be342791c7d9f465c33f7fb9..a29be41d51b30355695801d45a19d827edfcedba 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
@@ -41,13 +41,12 @@ class MockAutofillExternalDelegate : public AutofillExternalDelegate {
MockAutofillExternalDelegate(AutofillManager* autofill_manager,
AutofillDriver* autofill_driver)
: AutofillExternalDelegate(autofill_manager, autofill_driver) {}
- virtual ~MockAutofillExternalDelegate() {}
+ ~MockAutofillExternalDelegate() override {}
- virtual void DidSelectSuggestion(const base::string16& value,
- int identifier) override {}
- virtual void RemoveSuggestion(const base::string16& value,
- int identifier) override {}
- virtual void ClearPreviewedForm() override {}
+ void DidSelectSuggestion(const base::string16& value,
+ int identifier) override {}
+ void RemoveSuggestion(const base::string16& value, int identifier) override {}
+ void ClearPreviewedForm() override {}
base::WeakPtr<AutofillExternalDelegate> GetWeakPtr() {
return AutofillExternalDelegate::GetWeakPtr();
}
@@ -56,9 +55,9 @@ class MockAutofillExternalDelegate : public AutofillExternalDelegate {
class MockAutofillClient : public autofill::TestAutofillClient {
public:
MockAutofillClient() : prefs_(autofill::test::PrefServiceForTesting()) {}
- virtual ~MockAutofillClient() {}
+ ~MockAutofillClient() override {}
- virtual PrefService* GetPrefs() override { return prefs_.get(); }
+ PrefService* GetPrefs() override { return prefs_.get(); }
private:
scoped_ptr<PrefService> prefs_;

Powered by Google App Engine
This is Rietveld 408576698