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

Unified Diff: components/sync_driver/device_info_sync_service_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/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 f0a6906ecb6d76a5eb4fef7918512420c60f8368..1dbe6a83a47453c1142066ec689471c375a7176e 100644
--- a/components/sync_driver/device_info_sync_service_unittest.cc
+++ b/components/sync_driver/device_info_sync_service_unittest.cc
@@ -40,13 +40,13 @@ class TestChangeProcessor : public SyncChangeProcessor {
// Store a copy of all the changes passed in so we can examine them later.
virtual SyncError ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) OVERRIDE {
+ const SyncChangeList& change_list) override {
change_list_ = change_list;
return SyncError();
}
// This method isn't used in these tests.
- virtual SyncDataList GetAllSyncData(ModelType type) const OVERRIDE {
+ virtual SyncDataList GetAllSyncData(ModelType type) const override {
return SyncDataList();
}
@@ -80,7 +80,7 @@ class DeviceInfoSyncServiceTest : public testing::Test,
DeviceInfoSyncServiceTest() : num_device_info_changed_callbacks_(0) {}
virtual ~DeviceInfoSyncServiceTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
local_device_.reset(new LocalDeviceInfoProviderMock(
"guid_1",
"client_1",
@@ -94,11 +94,11 @@ class DeviceInfoSyncServiceTest : public testing::Test,
sync_service_->AddObserver(this);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
sync_service_->RemoveObserver(this);
}
- virtual void OnDeviceInfoChange() OVERRIDE {
+ virtual void OnDeviceInfoChange() override {
num_device_info_changed_callbacks_++;
}
« no previous file with comments | « components/sync_driver/device_info_sync_service.h ('k') | components/sync_driver/fake_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698