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

Unified Diff: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
index fcdd0e7466ed5a878d3e83a158ba0dd754b8cbfa..22df3eb3d20408c0cc0c6382b8ec28c2e9c471e6 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
@@ -42,13 +42,13 @@ class NoOpAutofillBackend : public AutofillWebDataBackend {
public:
NoOpAutofillBackend() {}
virtual ~NoOpAutofillBackend() {}
- virtual WebDatabase* GetDatabase() OVERRIDE { return NULL; }
+ virtual WebDatabase* GetDatabase() override { return NULL; }
virtual void AddObserver(
- autofill::AutofillWebDataServiceObserverOnDBThread* observer) OVERRIDE {}
+ autofill::AutofillWebDataServiceObserverOnDBThread* observer) override {}
virtual void RemoveObserver(
- autofill::AutofillWebDataServiceObserverOnDBThread* observer) OVERRIDE {}
- virtual void RemoveExpiredFormElements() OVERRIDE {}
- virtual void NotifyOfMultipleAutofillChanges() OVERRIDE {}
+ autofill::AutofillWebDataServiceObserverOnDBThread* observer) override {}
+ virtual void RemoveExpiredFormElements() override {}
+ virtual void NotifyOfMultipleAutofillChanges() override {}
};
// Fake WebDataService implementation that stubs out the database loading.
@@ -70,12 +70,12 @@ class FakeWebDataService : public AutofillWebDataService {
db_loaded_callback_.Run();
}
- virtual bool IsDatabaseLoaded() OVERRIDE {
+ virtual bool IsDatabaseLoaded() override {
return is_database_loaded_;
}
virtual void RegisterDBLoadedCallback(
- const base::Callback<void(void)>& callback) OVERRIDE {
+ const base::Callback<void(void)>& callback) override {
db_loaded_callback_ = callback;
}
@@ -118,7 +118,7 @@ class MockWebDataServiceWrapperSyncable : public MockWebDataServiceWrapper {
: MockWebDataServiceWrapper(new FakeWebDataService(), NULL) {
}
- virtual void Shutdown() OVERRIDE {
+ virtual void Shutdown() override {
static_cast<FakeWebDataService*>(
fake_autofill_web_data_.get())->ShutdownOnUIThread();
// Make sure WebDataService is shutdown properly on DB thread before we

Powered by Google App Engine
This is Rietveld 408576698