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

Unified Diff: components/autofill/core/browser/autofill_metrics_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/core/browser/autofill_metrics_unittest.cc
diff --git a/components/autofill/core/browser/autofill_metrics_unittest.cc b/components/autofill/core/browser/autofill_metrics_unittest.cc
index 926542b89e3eb3d5abb6c44dbc126faa96ef10a7..3982886551df12d0f703d92955f479046172ab7f 100644
--- a/components/autofill/core/browser/autofill_metrics_unittest.cc
+++ b/components/autofill/core/browser/autofill_metrics_unittest.cc
@@ -87,7 +87,7 @@ class TestPersonalDataManager : public PersonalDataManager {
// Overridden to avoid a trip to the database. This should be a no-op except
// for the side-effect of logging the profile count.
- virtual void LoadProfiles() OVERRIDE {
+ virtual void LoadProfiles() override {
std::vector<AutofillProfile*> profiles;
web_profiles_.release(&profiles);
WDResult<std::vector<AutofillProfile*> > result(AUTOFILL_PROFILES_RESULT,
@@ -96,7 +96,7 @@ class TestPersonalDataManager : public PersonalDataManager {
}
// Overridden to avoid a trip to the database.
- virtual void LoadCreditCards() OVERRIDE {}
+ virtual void LoadCreditCards() override {}
const MockAutofillMetrics* metric_logger() const {
return static_cast<const MockAutofillMetrics*>(
@@ -107,7 +107,7 @@ class TestPersonalDataManager : public PersonalDataManager {
autofill_enabled_ = autofill_enabled;
}
- virtual bool IsAutofillEnabled() const OVERRIDE {
+ virtual bool IsAutofillEnabled() const override {
return autofill_enabled_;
}
@@ -173,7 +173,7 @@ class TestAutofillManager : public AutofillManager {
}
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;
@@ -211,7 +211,7 @@ class TestAutofillManager : public AutofillManager {
const FormStructure* submitted_form,
const base::TimeTicks& load_time,
const base::TimeTicks& interaction_time,
- const base::TimeTicks& submission_time) OVERRIDE {
+ const base::TimeTicks& submission_time) override {
run_loop_->Quit();
AutofillManager::UploadFormDataAsyncCallback(submitted_form,
@@ -233,8 +233,8 @@ class AutofillMetricsTest : public testing::Test {
public:
virtual ~AutofillMetricsTest();
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
+ virtual void SetUp() override;
+ virtual void TearDown() override;
protected:
base::MessageLoop message_loop_;
« no previous file with comments | « components/autofill/core/browser/autofill_merge_unittest.cc ('k') | components/autofill/core/browser/autofill_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698