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

Unified Diff: components/autofill/content/browser/request_autocomplete_manager_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and 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/content/browser/request_autocomplete_manager_unittest.cc
diff --git a/components/autofill/content/browser/request_autocomplete_manager_unittest.cc b/components/autofill/content/browser/request_autocomplete_manager_unittest.cc
index d9a9fb3d1fb858bf0c689c65104f6370d11b7fb4..f4a6c8ee67632078d6c46b3bcd2bed034505b76e 100644
--- a/components/autofill/content/browser/request_autocomplete_manager_unittest.cc
+++ b/components/autofill/content/browser/request_autocomplete_manager_unittest.cc
@@ -25,7 +25,7 @@ class TestAutofillManager : public AutofillManager {
autofill_enabled_(true) {}
virtual ~TestAutofillManager() {}
- virtual bool IsAutofillEnabled() const OVERRIDE { return autofill_enabled_; }
+ virtual bool IsAutofillEnabled() const override { return autofill_enabled_; }
void set_autofill_enabled(bool autofill_enabled) {
autofill_enabled_ = autofill_enabled;
@@ -46,7 +46,7 @@ class CustomTestAutofillClient : public TestAutofillClient {
virtual void ShowRequestAutocompleteDialog(
const FormData& form,
const GURL& source_url,
- const ResultCallback& callback) OVERRIDE {
+ const ResultCallback& callback) override {
if (should_simulate_success_) {
FormStructure form_structure(form);
callback.Run(
@@ -96,7 +96,7 @@ class RequestAutocompleteManagerTest :
public:
RequestAutocompleteManagerTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
content::RenderViewHostTestHarness::SetUp();
driver_.reset(
@@ -105,7 +105,7 @@ class RequestAutocompleteManagerTest :
new RequestAutocompleteManager(driver_.get()));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
// Reset the driver now to cause all pref observers to be removed and avoid
// crashes that otherwise occur in the destructor.
driver_.reset();

Powered by Google App Engine
This is Rietveld 408576698