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

Unified Diff: components/sync_driver/generic_change_processor_unittest.cc

Issue 666133002: Standardize usage of virtual/override/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/generic_change_processor_unittest.cc
diff --git a/components/sync_driver/generic_change_processor_unittest.cc b/components/sync_driver/generic_change_processor_unittest.cc
index f3c2ac8345dbad2a6e9a9d31fb22393cd13e9069..56c953450600ce8f6166b7ad07f76faae2e08c77 100644
--- a/components/sync_driver/generic_change_processor_unittest.cc
+++ b/components/sync_driver/generic_change_processor_unittest.cc
@@ -39,8 +39,8 @@ class MockAttachmentService : public syncer::AttachmentServiceImpl {
public:
MockAttachmentService(
const scoped_refptr<syncer::AttachmentStore>& attachment_store);
- virtual ~MockAttachmentService();
- virtual void UploadAttachments(
+ ~MockAttachmentService() override;
+ void UploadAttachments(
const syncer::AttachmentIdSet& attachment_ids) override;
std::vector<syncer::AttachmentIdSet>* attachment_id_sets();
@@ -82,14 +82,14 @@ class MockSyncApiComponentFactory : public SyncApiComponentFactory {
scoped_ptr<syncer::AttachmentService> attachment_service)
: attachment_service_(attachment_service.Pass()) {}
- virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
+ base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
syncer::ModelType type) override {
// Shouldn't be called for this test.
NOTREACHED();
return base::WeakPtr<syncer::SyncableService>();
}
- virtual scoped_ptr<syncer::AttachmentService> CreateAttachmentService(
+ scoped_ptr<syncer::AttachmentService> CreateAttachmentService(
const scoped_refptr<syncer::AttachmentStore>& attachment_store,
const syncer::UserShare& user_share,
syncer::AttachmentService::Delegate* delegate) override {
« no previous file with comments | « components/sync_driver/generic_change_processor.h ('k') | components/sync_driver/local_device_info_provider_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698