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

Unified Diff: components/password_manager/core/browser/password_form_manager_unittest.cc

Issue 824513003: Standardize usage of virtual/override/final specifiers in components/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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
« no previous file with comments | « components/metrics/histogram_manager.h ('k') | components/password_manager/core/browser/password_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_form_manager_unittest.cc
diff --git a/components/password_manager/core/browser/password_form_manager_unittest.cc b/components/password_manager/core/browser/password_form_manager_unittest.cc
index 8d533edf0fc34347c3d661b98f3291fbd55b5a41..30a91b5e4684c7ff02763cfd334890563f49402d 100644
--- a/components/password_manager/core/browser/password_form_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_form_manager_unittest.cc
@@ -95,15 +95,14 @@ class TestPasswordManagerClient : public StubPasswordManagerClient {
true);
}
- virtual bool ShouldFilterAutofillResult(
- const autofill::PasswordForm& form) override {
+ bool ShouldFilterAutofillResult(const autofill::PasswordForm& form) override {
if (form == form_to_filter_)
return true;
return false;
}
- virtual PrefService* GetPrefs() override { return &prefs_; }
- virtual PasswordStore* GetPasswordStore() override { return password_store_; }
+ PrefService* GetPrefs() override { return &prefs_; }
+ PasswordStore* GetPasswordStore() override { return password_store_; }
void SetFormToFilter(const autofill::PasswordForm& form) {
form_to_filter_ = form;
@@ -113,7 +112,7 @@ class TestPasswordManagerClient : public StubPasswordManagerClient {
base::WeakPtr<PasswordManagerDriver> driver() { return driver_->AsWeakPtr(); }
- virtual autofill::AutofillManager* GetAutofillManagerForMainFrame() override {
+ autofill::AutofillManager* GetAutofillManagerForMainFrame() override {
return mock_driver()->mock_autofill_manager();
}
« no previous file with comments | « components/metrics/histogram_manager.h ('k') | components/password_manager/core/browser/password_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698