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

Unified Diff: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h

Issue 666133002: Standardize usage of virtual/override/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/webdata/autofill_webdata_backend_impl.h
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
index a12a35f22f84a6a71bf782a6abe84a0d019e293c..a097e31394de1903f3f4fd5549c6dc5889430e90 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
+++ b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
@@ -53,13 +53,12 @@ class AutofillWebDataBackendImpl
const base::Closure& on_changed_callback);
// AutofillWebDataBackend implementation.
- virtual void AddObserver(AutofillWebDataServiceObserverOnDBThread* observer)
- override;
- virtual void RemoveObserver(
+ void AddObserver(AutofillWebDataServiceObserverOnDBThread* observer) override;
+ void RemoveObserver(
AutofillWebDataServiceObserverOnDBThread* observer) override;
- virtual WebDatabase* GetDatabase() override;
- virtual void RemoveExpiredFormElements() override;
- virtual void NotifyOfMultipleAutofillChanges() override;
+ WebDatabase* GetDatabase() override;
+ void RemoveExpiredFormElements() override;
+ void NotifyOfMultipleAutofillChanges() override;
// Returns a SupportsUserData objects that may be used to store data
// owned by the DB thread on this object. Should be called only from
@@ -146,7 +145,7 @@ class AutofillWebDataBackendImpl
WebDatabase* db);
protected:
- virtual ~AutofillWebDataBackendImpl();
+ ~AutofillWebDataBackendImpl() override;
private:
friend class base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>;
@@ -159,7 +158,8 @@ class AutofillWebDataBackendImpl
class SupportsUserDataAggregatable : public base::SupportsUserData {
public:
SupportsUserDataAggregatable() {}
- virtual ~SupportsUserDataAggregatable() {}
+ ~SupportsUserDataAggregatable() override {}
+
private:
DISALLOW_COPY_AND_ASSIGN(SupportsUserDataAggregatable);
};

Powered by Google App Engine
This is Rietveld 408576698