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

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

Issue 686563003: Standardize usage of virtual/override/final specifiers. (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: 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 ffa75457818aea387cc3f8c7d5f0817782fbc27c..ada1476e0d77476d1d0fec85e97d0bce0d3a9ee6 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
@@ -138,9 +138,9 @@ class SyncAutofillDataTypeControllerTest : public testing::Test {
last_start_result_(sync_driver::DataTypeController::OK),
weak_ptr_factory_(this) {}
- virtual ~SyncAutofillDataTypeControllerTest() {}
+ ~SyncAutofillDataTypeControllerTest() override {}
- virtual void SetUp() {
+ void SetUp() override {
EXPECT_CALL(profile_sync_factory_,
GetSyncableServiceForType(_)).
WillRepeatedly(Return(base::WeakPtr<syncer::SyncableService>()));
@@ -166,9 +166,7 @@ class SyncAutofillDataTypeControllerTest : public testing::Test {
EXPECT_EQ(type, syncer::AUTOFILL);
}
- virtual void TearDown() {
- autofill_dtc_ = NULL;
- }
+ void TearDown() override { autofill_dtc_ = NULL; }
void BlockForDBThread() {
base::RunLoop run_loop;

Powered by Google App Engine
This is Rietveld 408576698