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

Unified Diff: components/sync_driver/shared_change_processor_unittest.cc

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 8 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
« no previous file with comments | « components/storage_monitor/test_volume_mount_watcher_win.h ('k') | components/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/shared_change_processor_unittest.cc
diff --git a/components/sync_driver/shared_change_processor_unittest.cc b/components/sync_driver/shared_change_processor_unittest.cc
index d65fb54d528d26d19be24025aaaf2d8806157e67..a67c298c6be54cfa115fe88ff55bababf398b260 100644
--- a/components/sync_driver/shared_change_processor_unittest.cc
+++ b/components/sync_driver/shared_change_processor_unittest.cc
@@ -41,16 +41,16 @@ class SyncSharedChangeProcessorTest :
did_connect_(false),
has_attachment_service_(false) {}
- virtual ~SyncSharedChangeProcessorTest() {
+ ~SyncSharedChangeProcessorTest() override {
EXPECT_FALSE(db_syncable_service_.get());
}
- virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
+ base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
syncer::ModelType type) override {
return db_syncable_service_->AsWeakPtr();
}
- virtual scoped_ptr<syncer::AttachmentService> CreateAttachmentService(
+ scoped_ptr<syncer::AttachmentService> CreateAttachmentService(
scoped_ptr<syncer::AttachmentStoreForSync> attachment_store,
const syncer::UserShare& user_share,
const std::string& store_birthday,
@@ -60,7 +60,7 @@ class SyncSharedChangeProcessorTest :
}
protected:
- virtual void SetUp() override {
+ void SetUp() override {
test_user_share_.SetUp();
shared_change_processor_ = new SharedChangeProcessor();
ASSERT_TRUE(backend_thread_.Start());
@@ -70,7 +70,7 @@ class SyncSharedChangeProcessorTest :
base::Unretained(this))));
}
- virtual void TearDown() override {
+ void TearDown() override {
EXPECT_TRUE(backend_thread_.message_loop_proxy()->PostTask(
FROM_HERE,
base::Bind(&SyncSharedChangeProcessorTest::TearDownDBSyncableService,
« no previous file with comments | « components/storage_monitor/test_volume_mount_watcher_win.h ('k') | components/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698