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

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

Issue 611383002: Replace OVERRIDE with its C++11 counterpart in components/password_manager/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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/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 73718103e14b415bddb5a15c38acec5d05b52fd1..c269e4fa43c0e1e7b76d55137dc48b8dfb9729f1 100644
--- a/components/password_manager/core/browser/password_form_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_form_manager_unittest.cc
@@ -61,17 +61,17 @@ class TestPasswordManagerClient : public StubPasswordManagerClient {
}
virtual bool ShouldFilterAutofillResult(
- const autofill::PasswordForm& form) OVERRIDE {
+ 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_; }
- virtual PasswordManagerDriver* GetDriver() OVERRIDE { return &driver_; }
+ virtual PrefService* GetPrefs() override { return &prefs_; }
+ virtual PasswordStore* GetPasswordStore() override { return password_store_; }
+ virtual PasswordManagerDriver* GetDriver() override { return &driver_; }
virtual void AuthenticateAutofillAndFillForm(
- scoped_ptr<autofill::PasswordFormFillData> fill_data) OVERRIDE {
+ scoped_ptr<autofill::PasswordFormFillData> fill_data) override {
driver_.FillPasswordForm(*fill_data.get());
}
@@ -97,7 +97,7 @@ class TestPasswordManager : public PasswordManager {
virtual void Autofill(const autofill::PasswordForm& form_for_autofill,
const autofill::PasswordFormMap& best_matches,
const autofill::PasswordForm& preferred_match,
- bool wait_for_username) const OVERRIDE {
+ bool wait_for_username) const override {
best_matches_ = best_matches;
}

Powered by Google App Engine
This is Rietveld 408576698