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

Unified Diff: components/sync_driver/device_info_sync_service_unittest.cc

Issue 684513002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/sync_driver/device_info_sync_service_unittest.cc
diff --git a/components/sync_driver/device_info_sync_service_unittest.cc b/components/sync_driver/device_info_sync_service_unittest.cc
index 9722aa4d9c94726a165b0242234b265dc58d3635..b083e12f1ba31d65db393d01e4f9bc954ff6dde8 100644
--- a/components/sync_driver/device_info_sync_service_unittest.cc
+++ b/components/sync_driver/device_info_sync_service_unittest.cc
@@ -77,9 +77,9 @@ class DeviceInfoSyncServiceTest : public testing::Test,
public DeviceInfoTracker::Observer {
public:
DeviceInfoSyncServiceTest() : num_device_info_changed_callbacks_(0) {}
- virtual ~DeviceInfoSyncServiceTest() {}
+ ~DeviceInfoSyncServiceTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
local_device_.reset(new LocalDeviceInfoProviderMock(
"guid_1",
"client_1",
@@ -93,9 +93,7 @@ class DeviceInfoSyncServiceTest : public testing::Test,
sync_service_->AddObserver(this);
}
- virtual void TearDown() override {
- sync_service_->RemoveObserver(this);
- }
+ void TearDown() override { sync_service_->RemoveObserver(this); }
void OnDeviceInfoChange() override { num_device_info_changed_callbacks_++; }

Powered by Google App Engine
This is Rietveld 408576698